home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacOS Executable
(executable/macOSExecutable).
You can browse this item here: Apple Media ToolKit
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| MacOS Executable (executable/macOSExecutable)
| magic
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, busy, bundle, Wed Apr 6 19:40:42 1994, modified Wed Apr 6 19:41:48 1994, creator 'AMTK', type application, 435136 bytes "Apple Media ToolKit" , at 0x6a440 2031838 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh Application (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [APPL] |
macFileCreator | [AMTK] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 41 70 70 6c 65 20 | 4d 65 64 69 61 20 54 6f |..Apple |Media To|
|00000010| 6f 6c 4b 69 74 00 00 00 | 00 00 00 00 00 00 00 00 |olKit...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 41 50 50 4c 41 4d 54 | 4b 25 00 00 00 00 00 00 |.APPLAMT|K%......|
|00000050| 00 00 00 00 06 a3 c0 00 | 1f 00 de a9 c8 f8 fa a9 |........|........|
|00000060| c8 f9 3c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..<.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 95 89 00 00 |........|........|
|00000080| 00 00 62 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..b.STAK|........|
|00000090| 00 00 00 0a 00 06 a3 c0 | 00 00 62 00 00 00 00 00 |........|..b.....|
|000000a0| 00 00 00 00 00 00 00 07 | 00 00 0a 9c 00 00 00 33 |........|.......3|
|000000b0| 00 00 10 91 00 00 44 4a | 00 00 00 00 00 00 00 00 |......DJ|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 05 00 00 90 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 20 80 00 | 02 20 80 00 02 20 80 00 |..... ..|. ... ..|
|000000f0| 5d 31 74 85 00 00 00 00 | 00 00 00 00 01 e0 02 80 |]1t.....|........|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 9d 00 00 0c d3 | 01 e0 02 80 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000690| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006a0| b0 b0 b0 b0 b0 b0 b0 0d | 6f 6e 20 69 64 6c 65 0d |........|on idle.|
|000006b0| 0d 70 75 74 20 6d 65 6e | 75 69 74 65 6d 20 31 20 |.put men|uitem 1 |
|000006c0| 6f 66 20 6d 65 6e 75 20 | 22 41 70 70 6c 69 63 61 |of menu |"Applica|
|000006d0| 74 69 6f 6e 22 20 69 6e | 74 6f 20 70 72 6f 67 4e |tion" in|to progN|
|000006e0| 61 6d 65 0d 69 66 20 22 | 48 79 70 65 72 43 61 72 |ame.if "|HyperCar|
|000006f0| 64 22 20 69 73 20 69 6e | 20 70 72 6f 67 4e 61 6d |d" is in| progNam|
|00000700| 65 20 c2 0d 4f 52 20 22 | 54 6f 6f 6c 4b 69 74 22 |e ..OR "|ToolKit"|
|00000710| 20 69 73 20 69 6e 20 70 | 72 6f 67 4e 61 6d 65 20 | is in p|rogName |
|00000720| 74 68 65 6e 0d 69 66 20 | 69 74 65 6d 20 33 20 6f |then.if |item 3 o|
|00000730| 66 20 74 68 65 20 73 63 | 72 65 65 6e 72 65 63 74 |f the sc|reenrect|
|00000740| 20 3d 20 22 36 34 30 22 | 20 c2 0d 61 6e 64 20 69 | = "640"| ..and i|
|00000750| 74 65 6d 20 34 20 6f 66 | 20 74 68 65 20 73 63 72 |tem 4 of| the scr|
|00000760| 65 65 6e 72 65 63 74 20 | 3d 20 22 34 38 30 22 20 |eenrect |= "480" |
|00000770| 74 68 65 6e 0d 68 69 64 | 65 20 6d 65 6e 75 62 61 |then.hid|e menuba|
|00000780| 72 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |r.end if|.end if.|
|00000790| 0d 65 6e 64 20 69 64 6c | 65 0d b0 b0 b0 b0 b0 b0 |.end idl|e.......|
|000007a0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000007b0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000007c0| b0 0d 6f 6e 20 61 72 72 | 6f 77 4b 65 79 0d 69 66 |..on arr|owKey.if|
|000007d0| 20 74 68 65 20 6f 70 74 | 69 6f 6e 4b 65 79 20 69 | the opt|ionKey i|
|000007e0| 73 20 64 6f 77 6e 20 74 | 68 65 6e 20 70 61 73 73 |s down t|hen pass|
|000007f0| 20 61 72 72 6f 77 4b 65 | 79 0d 65 6e 64 20 61 72 | arrowKe|y.end ar|
|00000800| 72 6f 77 4b 65 79 0d b0 | b0 b0 b0 b0 b0 b0 b0 b0 |rowKey..|........|
|00000810| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000820| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 0d 0d |........|........|
|00000830| 6f 6e 20 68 42 61 6c 6c | 6f 6f 6e 54 6f 67 67 6c |on hBall|oonToggl|
|00000840| 65 0d 45 58 49 54 20 68 | 42 61 6c 6c 6f 6f 6e 54 |e.EXIT h|BalloonT|
|00000850| 6f 67 67 6c 65 0d 67 65 | 74 20 42 61 6c 6c 6f 6f |oggle.ge|t Balloo|
|00000860| 6e 73 20 28 22 69 73 4f | 6e 22 29 0d 69 66 20 69 |ns ("isO|n").if i|
|00000870| 74 20 3d 20 54 52 55 45 | 20 74 68 65 6e 0d 67 65 |t = TRUE| then.ge|
|00000880| 74 20 42 61 6c 6c 6f 6f | 6e 73 28 22 6f 66 66 22 |t Balloo|ns("off"|
|00000890| 29 20 2d 2d 20 74 75 72 | 6e 20 6f 66 66 0d 65 6c |) -- tur|n off.el|
|000008a0| 73 65 20 20 20 67 65 74 | 20 42 61 6c 6c 6f 6f 6e |se get| Balloon|
|000008b0| 73 28 22 6f 6e 22 29 0d | 65 6e 64 20 68 42 61 6c |s("on").|end hBal|
|000008c0| 6c 6f 6f 6e 54 6f 67 67 | 6c 65 0d 0d 6f 6e 20 68 |loonTogg|le..on h|
|000008d0| 42 61 6c 6c 6f 6f 6e 53 | 68 6f 77 20 74 54 69 74 |BalloonS|how tTit|
|000008e0| 6c 65 2c 74 54 78 74 2c | 74 4c 6f 63 2c 74 56 65 |le,tTxt,|tLoc,tVe|
|000008f0| 72 0d 2d 2d 45 58 49 54 | 20 68 42 61 6c 6c 6f 6f |r.--EXIT| hBalloo|
|00000900| 6e 53 68 6f 77 0d 70 75 | 74 20 74 54 69 74 6c 65 |nShow.pu|t tTitle|
|00000910| 20 26 20 52 45 54 55 52 | 4e 20 26 20 52 45 54 55 | & RETUR|N & RETU|
|00000920| 52 4e 20 20 26 20 74 54 | 78 74 20 69 6e 74 6f 20 |RN & tT|xt into |
|00000930| 74 48 65 6c 70 54 65 78 | 74 0d 69 66 20 74 4c 6f |tHelpTex|t.if tLo|
|00000940| 63 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |c is emp|ty then |
|00000950| 70 75 74 20 74 68 65 20 | 6d 6f 75 73 65 4c 6f 63 |put the |mouseLoc|
|00000960| 20 69 6e 74 6f 20 74 4c | 6f 63 0d 69 66 20 74 56 | into tL|oc.if tV|
|00000970| 65 72 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |er is em|pty then|
|00000980| 20 70 75 74 20 30 20 69 | 6e 74 6f 20 74 56 65 72 | put 0 i|nto tVer|
|00000990| 0d 0d 70 75 74 20 42 61 | 6c 6c 6f 6f 6e 73 28 22 |..put Ba|lloons("|
|000009a0| 73 68 6f 77 22 2c 74 48 | 65 6c 70 54 65 78 74 2c |show",tH|elpText,|
|000009b0| 74 4c 6f 63 2c 74 56 65 | 72 29 20 69 6e 74 6f 20 |tLoc,tVe|r) into |
|000009c0| 74 68 65 53 74 61 74 75 | 73 0d 2d 2d 20 77 61 69 |theStatu|s.-- wai|
|000009d0| 74 20 74 69 6c 6c 20 62 | 61 6c 6c 6f 6f 6e 20 64 |t till b|alloon d|
|000009e0| 69 73 70 6c 61 79 65 64 | 0d 72 65 70 65 61 74 20 |isplayed|.repeat |
|000009f0| 75 6e 74 69 6c 20 22 2d | 38 35 33 22 20 69 73 20 |until "-|853" is |
|00000a00| 6e 6f 74 20 69 6e 20 74 | 68 65 53 74 61 74 75 73 |not in t|heStatus|
|00000a10| 0d 70 75 74 20 42 61 6c | 6c 6f 6f 6e 73 28 22 73 |.put Bal|loons("s|
|00000a20| 68 6f 77 22 2c 74 48 65 | 6c 70 54 65 78 74 2c 74 |how",tHe|lpText,t|
|00000a30| 4c 6f 63 2c 74 56 65 72 | 29 20 69 6e 74 6f 20 74 |Loc,tVer|) into t|
|00000a40| 68 65 53 74 61 74 75 73 | 0d 65 6e 64 20 72 65 70 |heStatus|.end rep|
|00000a50| 65 61 74 0d 65 6e 64 20 | 68 42 61 6c 6c 6f 6f 6e |eat.end |hBalloon|
|00000a60| 53 68 6f 77 0d 0d 6f 6e | 20 68 42 61 6c 6c 6f 6f |Show..on| hBalloo|
|00000a70| 6e 4f 66 66 0d 2d 2d 45 | 58 49 54 20 68 42 61 6c |nOff.--E|XIT hBal|
|00000a80| 6c 6f 6f 6e 4f 66 66 0d | 67 65 74 20 42 61 6c 6c |loonOff.|get Ball|
|00000a90| 6f 6f 6e 73 28 22 6f 66 | 66 22 29 0d 65 6e 64 20 |oons("of|f").end |
|00000aa0| 68 42 61 6c 6c 6f 6f 6e | 4f 66 66 0d 0d 6f 6e 20 |hBalloon|Off..on |
|00000ab0| 68 42 61 6c 6c 6f 6f 6e | 48 69 64 65 0d 2d 2d 45 |hBalloon|Hide.--E|
|00000ac0| 58 49 54 20 68 42 61 6c | 6c 6f 6f 6e 48 69 64 65 |XIT hBal|loonHide|
|00000ad0| 0d 67 65 74 20 42 61 6c | 6c 6f 6f 6e 73 28 22 52 |.get Bal|loons("R|
|00000ae0| 65 6d 6f 76 65 22 29 0d | 65 6e 64 20 68 42 61 6c |emove").|end hBal|
|00000af0| 6c 6f 6f 6e 48 69 64 65 | 0d 0d b0 b0 b0 b0 b0 b0 |loonHide|........|
|00000b00| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000b10| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000b20| b0 0d 0d 0d 0d 6f 6e 20 | 6f 70 65 6e 73 74 61 63 |.....on |openstac|
|00000b30| 6b 0d 0d 2d 2d 20 20 20 | 20 20 20 20 20 20 45 4e |k..-- | EN|
|00000b40| 56 49 52 4f 4e 4d 45 4e | 54 0d 47 6c 6f 62 61 6c |VIRONMEN|T.Global|
|00000b50| 20 67 5f 48 45 4c 50 53 | 74 61 63 6b 50 61 74 68 | g_HELPS|tackPath|
|00000b60| 0d 47 6c 6f 62 61 6c 20 | 67 5f 52 65 74 75 72 6e |.Global |g_Return|
|00000b70| 46 72 6f 6d 48 65 6c 70 | 0d 47 6c 6f 62 61 6c 20 |FromHelp|.Global |
|00000b80| 67 5f 53 79 73 5f 41 62 | 6f 72 74 5f 46 6c 61 67 |g_Sys_Ab|ort_Flag|
|00000b90| 20 2d 2d 20 65 69 74 68 | 65 72 20 45 4d 50 54 59 | -- eith|er EMPTY|
|00000ba0| 2c 20 22 57 41 52 4e 49 | 4e 47 22 2c 20 6f 72 20 |, "WARNI|NG", or |
|00000bb0| 54 52 55 45 0d 0d 69 66 | 20 67 5f 53 79 73 5f 41 |TRUE..if| g_Sys_A|
|00000bc0| 62 6f 72 74 5f 46 6c 61 | 67 20 3d 20 45 4d 50 54 |bort_Fla|g = EMPT|
|00000bd0| 59 20 41 4e 44 20 67 5f | 52 65 74 75 72 6e 46 72 |Y AND g_|ReturnFr|
|00000be0| 6f 6d 48 65 6c 70 20 69 | 73 20 45 4d 50 54 59 20 |omHelp i|s EMPTY |
|00000bf0| 74 68 65 6e 0d 69 66 20 | 68 47 65 74 53 79 73 74 |then.if |hGetSyst|
|00000c00| 65 6d 49 6e 66 6f 20 28 | 29 20 ad 20 54 52 55 45 |emInfo (|) . TRUE|
|00000c10| 20 74 68 65 6e 20 68 53 | 74 61 72 74 75 70 45 72 | then hS|tartupEr|
|00000c20| 72 6f 72 20 2d 2d 20 64 | 6f 20 6f 6e 63 65 20 6f |ror -- d|o once o|
|00000c30| 6e 6c 79 0d 65 6e 64 20 | 69 66 0d 2d 2d 20 4e 4f |nly.end |if.-- NO|
|00000c40| 54 45 3a 20 61 6c 77 61 | 79 73 20 3d 20 45 4d 50 |TE: alwa|ys = EMP|
|00000c50| 54 59 20 77 68 65 6e 20 | 66 61 6c 6c 73 0d 0d 47 |TY when |falls..G|
|00000c60| 6c 6f 62 61 6c 20 67 5f | 46 6c 64 73 50 65 72 52 |lobal g_|FldsPerR|
|00000c70| 65 63 0d 47 6c 6f 62 61 | 6c 20 67 5f 41 4d 54 4b |ec.Globa|l g_AMTK|
|00000c80| 53 74 61 63 6b 50 61 74 | 68 2c 20 67 5f 41 4d 54 |StackPat|h, g_AMT|
|00000c90| 4b 53 74 61 63 6b 4e 61 | 6d 65 0d 47 6c 6f 62 61 |KStackNa|me.Globa|
|00000ca0| 6c 20 67 5f 53 59 53 46 | 6f 6c 64 65 72 2c 20 67 |l g_SYSF|older, g|
|00000cb0| 5f 53 59 53 56 6f 6c 75 | 6d 65 0d 47 6c 6f 62 61 |_SYSVolu|me.Globa|
|00000cc0| 6c 20 67 5f 50 41 43 6f | 6c 6f 72 42 57 2c 20 67 |l g_PACo|lorBW, g|
|00000cd0| 5f 50 41 43 6f 6c 6f 72 | 47 72 61 79 2c 20 67 5f |_PAColor|Gray, g_|
|00000ce0| 50 41 43 6f 6c 6f 72 43 | 6f 6c 6f 72 20 2d 2d 20 |PAColorC|olor -- |
|00000cf0| 73 75 62 2d 66 6f 6c 64 | 65 72 73 20 77 2f 69 6e |sub-fold|ers w/in|
|00000d00| 20 6d 61 69 6e 20 50 41 | 20 66 6f 6c 64 65 72 0d | main PA| folder.|
|00000d10| 0d 47 6c 6f 62 61 6c 20 | 67 5f 49 6e 74 65 72 6e |.Global |g_Intern|
|00000d20| 61 6c 46 6f 6c 64 65 72 | 0d 47 6c 6f 62 61 6c 20 |alFolder|.Global |
|00000d30| 67 5f 50 72 69 6e 74 46 | 6f 6c 64 65 72 2c 20 67 |g_PrintF|older, g|
|00000d40| 5f 50 72 6f 64 75 63 74 | 46 6f 6c 64 65 72 2c 20 |_Product|Folder, |
|00000d50| 67 5f 50 72 6f 64 75 63 | 74 53 75 62 46 6f 6c 64 |g_Produc|tSubFold|
|00000d60| 65 72 0d 47 6c 6f 62 61 | 6c 20 67 5f 47 65 74 49 |er.Globa|l g_GetI|
|00000d70| 6e 66 6f 46 6f 6c 64 65 | 72 2c 20 67 5f 42 6f 64 |nfoFolde|r, g_Bod|
|00000d80| 79 43 6f 70 79 46 6f 6c | 64 65 72 2c 20 67 5f 50 |yCopyFol|der, g_P|
|00000d90| 72 65 76 69 65 77 50 49 | 43 54 46 6f 6c 64 65 72 |reviewPI|CTFolder|
|00000da0| 0d 0d 47 6c 6f 62 61 6c | 20 67 5f 51 54 52 61 64 |..Global| g_QTRad|
|00000db0| 69 6f 46 6f 6c 64 65 72 | 0d 0d 47 6c 6f 62 61 6c |ioFolder|..Global|
|00000dc0| 20 67 5f 44 53 70 61 74 | 68 54 6f 44 53 50 49 43 | g_DSpat|hToDSPIC|
|00000dd0| 54 2c 20 67 5f 44 53 70 | 61 74 68 54 6f 44 43 50 |T, g_DSp|athToDCP|
|00000de0| 49 43 54 0d 47 6c 6f 62 | 61 6c 20 67 5f 44 53 70 |ICT.Glob|al g_DSp|
|00000df0| 61 74 68 54 6f 44 53 46 | 69 6c 65 73 2c 20 67 5f |athToDSF|iles, g_|
|00000e00| 44 53 70 61 74 68 54 6f | 44 43 46 69 6c 65 73 0d |DSpathTo|DCFiles.|
|00000e10| 0d 47 6c 6f 62 61 6c 20 | 67 5f 50 68 6f 74 6f 46 |.Global |g_PhotoF|
|00000e20| 6f 6c 64 65 72 2c 20 67 | 5f 50 68 6f 74 6f 53 75 |older, g|_PhotoSu|
|00000e30| 62 46 6f 6c 64 65 72 43 | 6f 6c 6f 72 2c 20 67 5f |bFolderC|olor, g_|
|00000e40| 50 68 6f 74 6f 53 75 62 | 46 6f 6c 64 65 72 42 57 |PhotoSub|FolderBW|
|00000e50| 0d 0d 47 6c 6f 62 61 6c | 20 67 5f 50 61 74 68 54 |..Global| g_PathT|
|00000e60| 6f 57 69 6e 6e 65 72 73 | 2c 20 67 5f 43 6f 6e 74 |oWinners|, g_Cont|
|00000e70| 65 73 74 57 69 6e 6e 65 | 72 43 4f 55 4e 54 0d 0d |estWinne|rCOUNT..|
|00000e80| 0d 0d 2d 2d 20 20 20 20 | 20 20 20 20 47 45 4e 45 |..-- | GENE|
|00000e90| 52 41 4c 0d 68 69 64 65 | 20 74 69 74 6c 65 62 61 |RAL.hide| titleba|
|00000ea0| 72 0d 68 69 64 65 20 74 | 6f 6f 6c 20 77 69 6e 64 |r.hide t|ool wind|
|00000eb0| 6f 77 0d 68 69 64 65 20 | 70 61 74 74 65 72 6e 20 |ow.hide |pattern |
|00000ec0| 77 69 6e 64 6f 77 0d 68 | 69 64 65 20 73 63 72 6f |window.h|ide scro|
|00000ed0| 6c 6c 20 77 69 6e 64 6f | 77 0d 68 69 64 65 20 6d |ll windo|w.hide m|
|00000ee0| 73 67 0d 73 65 74 20 74 | 68 65 20 75 73 65 72 6c |sg.set t|he userl|
|00000ef0| 65 76 65 6c 20 74 6f 20 | 35 0d 73 65 74 20 73 63 |evel to |5.set sc|
|00000f00| 72 69 70 74 74 65 78 74 | 66 6f 6e 74 20 74 6f 20 |ripttext|font to |
|00000f10| 47 65 6e 65 76 61 0d 73 | 65 74 20 73 63 72 69 70 |Geneva.s|et scrip|
|00000f20| 74 74 65 78 74 73 69 7a | 65 20 74 6f 20 31 32 0d |ttextsiz|e to 12.|
|00000f30| 69 66 20 69 74 65 6d 20 | 33 20 6f 66 20 74 68 65 |if item |3 of the|
|00000f40| 20 73 63 72 65 65 6e 72 | 65 63 74 20 3d 20 22 36 | screenr|ect = "6|
|00000f50| 34 30 22 20 c2 0d 61 6e | 64 20 69 74 65 6d 20 34 |40" ..an|d item 4|
|00000f60| 20 6f 66 20 74 68 65 20 | 73 63 72 65 65 6e 72 65 | of the |screenre|
|00000f70| 63 74 20 3d 20 22 34 38 | 30 22 20 74 68 65 6e 0d |ct = "48|0" then.|
|00000f80| 68 69 64 65 20 6d 65 6e | 75 62 61 72 0d 65 6e 64 |hide men|ubar.end|
|00000f90| 20 69 66 0d 0d 68 43 72 | 65 61 74 65 4e 65 77 4d | if..hCr|eateNewM|
|00000fa0| 65 6e 75 73 20 2d 2d 20 | 72 65 64 6f 20 6d 65 6e |enus -- |redo men|
|00000fb0| 75 62 61 72 0d 0d 2d 2d | 20 20 20 20 20 20 20 20 |ubar..--| |
|00000fc0| 52 65 74 75 72 6e 69 6e | 67 20 66 72 6f 6d 20 48 |Returnin|g from H|
|00000fd0| 65 6c 70 20 53 74 61 63 | 6b 3f 3f 0d 2d 2d 20 41 |elp Stac|k??.-- A|
|00000fe0| 6c 77 61 79 73 20 64 6f | 20 66 75 6c 6c 20 73 65 |lways do| full se|
|00000ff0| 74 75 70 20 69 6e 20 63 | 61 73 65 20 48 65 6c 70 |tup in c|ase Help|
|00001000| 20 73 74 61 63 6b 20 69 | 73 20 72 75 6e 20 31 73 | stack i|s run 1s|
|00001010| 74 0d 0d 2d 2d 20 20 49 | 4e 54 52 4f 0d 49 46 20 |t..-- I|NTRO.IF |
|00001020| 67 5f 52 65 74 75 72 6e | 46 72 6f 6d 48 65 6c 70 |g_Return|FromHelp|
|00001030| 20 69 73 20 45 4d 50 54 | 59 20 74 68 65 6e 0d 6c | is EMPT|Y then.l|
|00001040| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 70 75 74 20 22 |ock scre|en.put "|
|00001050| 43 6f 70 79 22 20 69 6e | 74 6f 20 63 75 72 4d 6f |Copy" in|to curMo|
|00001060| 64 65 0d 63 6f 6c 6f 72 | 69 7a 65 48 43 20 22 6e |de.color|izeHC "n|
|00001070| 65 77 22 2c 22 41 4d 54 | 4b 20 49 6e 74 72 6f 22 |ew","AMT|K Intro"|
|00001080| 2c 20 22 30 2c 30 22 2c | 2c 63 75 72 4d 6f 64 65 |, "0,0",|,curMode|
|00001090| 0d 70 75 74 20 74 68 65 | 20 72 65 73 75 6c 74 20 |.put the| result |
|000010a0| 69 6e 74 6f 20 74 6d 70 | 0d 69 66 20 74 6d 70 20 |into tmp|.if tmp |
|000010b0| 69 73 20 4e 4f 54 20 45 | 4d 50 54 59 20 74 68 65 |is NOT E|MPTY the|
|000010c0| 6e 0d 61 6e 73 77 65 72 | 20 22 54 68 65 72 65 20 |n.answer| "There |
|000010d0| 69 73 20 6e 6f 74 20 65 | 6e 6f 75 67 68 20 6d 65 |is not e|nough me|
|000010e0| 6d 6f 72 79 20 74 6f 20 | 72 75 6e 20 74 68 65 20 |mory to |run the |
|000010f0| 41 70 70 6c 65 20 4d 65 | 64 69 61 20 54 6f 6f 6c |Apple Me|dia Tool|
|00001100| 4b 69 74 2e 20 22 0d 53 | 45 4e 44 20 22 64 6f 4d |Kit. ".S|END "doM|
|00001110| 65 6e 75 20 51 75 69 74 | 20 48 79 70 65 72 43 61 |enu Quit| HyperCa|
|00001120| 72 64 22 20 74 6f 20 48 | 79 70 65 72 43 61 72 64 |rd" to H|yperCard|
|00001130| 0d 65 6e 64 20 69 66 0d | 75 6e 6c 6f 63 6b 20 73 |.end if.|unlock s|
|00001140| 63 72 65 65 6e 0d 77 61 | 69 74 20 31 30 30 0d 65 |creen.wa|it 100.e|
|00001150| 6e 64 20 69 66 0d 0d 0d | 2d 2d 20 20 20 20 20 20 |nd if...|-- |
|00001160| 20 20 20 4e 41 4d 45 53 | 20 28 77 2f 43 4f 4c 4f | NAMES| (w/COLO|
|00001170| 4e 53 29 0d 2d 2d 20 47 | 65 6e 65 72 61 6c 0d 70 |NS).-- G|eneral.p|
|00001180| 75 74 20 22 47 65 74 74 | 69 6e 67 20 53 74 61 72 |ut "Gett|ing Star|
|00001190| 74 65 64 3a 41 4d 54 4b | 20 69 6e 74 65 72 6e 61 |ted:AMTK| interna|
|000011a0| 6c 3a 22 20 69 6e 74 6f | 20 67 5f 49 6e 74 65 72 |l:" into| g_Inter|
|000011b0| 6e 61 6c 46 6f 6c 64 65 | 72 0d 70 75 74 20 22 4d |nalFolde|r.put "M|
|000011c0| 65 64 69 61 20 4d 61 74 | 65 72 69 61 6c 73 3a 22 |edia Mat|erials:"|
|000011d0| 20 69 6e 74 6f 20 67 5f | 50 72 69 6e 74 46 6f 6c | into g_|PrintFol|
|000011e0| 64 65 72 0d 70 75 74 20 | 22 50 72 6f 64 75 63 74 |der.put |"Product|
|000011f0| 20 43 6f 6d 70 6f 6e 65 | 6e 74 73 3a 22 20 69 6e | Compone|nts:" in|
|00001200| 74 6f 20 67 5f 50 72 6f | 64 75 63 74 46 6f 6c 64 |to g_Pro|ductFold|
|00001210| 65 72 0d 70 75 74 20 22 | 41 70 70 6c 65 20 50 72 |er.put "|Apple Pr|
|00001220| 6f 64 75 63 74 73 3a 22 | 20 69 6e 74 6f 20 67 5f |oducts:"| into g_|
|00001230| 50 72 6f 64 75 63 74 53 | 75 62 46 6f 6c 64 65 72 |ProductS|ubFolder|
|00001240| 0d 0d 70 75 74 20 22 50 | 68 6f 74 6f 67 72 61 70 |..put "P|hotograp|
|00001250| 68 79 3a 22 20 69 6e 74 | 6f 20 67 5f 50 68 6f 74 |hy:" int|o g_Phot|
|00001260| 6f 46 6f 6c 64 65 72 0d | 70 75 74 20 22 43 6f 6c |oFolder.|put "Col|
|00001270| 6f 72 3a 22 20 69 6e 74 | 6f 20 67 5f 50 68 6f 74 |or:" int|o g_Phot|
|00001280| 6f 53 75 62 46 6f 6c 64 | 65 72 43 6f 6c 6f 72 0d |oSubFold|erColor.|
|00001290| 70 75 74 20 22 42 6c 61 | 63 6b 20 61 6e 64 20 57 |put "Bla|ck and W|
|000012a0| 68 69 74 65 3a 22 20 69 | 6e 74 6f 20 67 5f 50 68 |hite:" i|nto g_Ph|
|000012b0| 6f 74 6f 53 75 62 46 6f | 6c 64 65 72 42 57 0d 0d |otoSubFo|lderBW..|
|000012c0| 70 75 74 20 22 46 75 6c | 6c 20 54 65 78 74 3a 22 |put "Ful|l Text:"|
|000012d0| 20 69 6e 74 6f 20 67 5f | 42 6f 64 79 43 6f 70 79 | into g_|BodyCopy|
|000012e0| 46 6f 6c 64 65 72 0d 50 | 75 74 20 22 47 65 74 20 |Folder.P|ut "Get |
|000012f0| 49 6e 66 6f 73 3a 22 20 | 69 6e 74 6f 20 67 5f 47 |Infos:" |into g_G|
|00001300| 65 74 49 6e 66 6f 46 6f | 6c 64 65 72 0d 50 75 74 |etInfoFo|lder.Put|
|00001310| 20 22 50 72 65 76 69 65 | 77 20 50 69 63 74 75 72 | "Previe|w Pictur|
|00001320| 65 73 3a 22 20 69 6e 74 | 6f 20 67 5f 50 72 65 76 |es:" int|o g_Prev|
|00001330| 69 65 77 50 49 43 54 46 | 6f 6c 64 65 72 0d 0d 2d |iewPICTF|older..-|
|00001340| 2d 20 52 61 64 69 6f 20 | 53 63 72 69 70 74 73 0d |- Radio |Scripts.|
|00001350| 50 75 74 20 22 52 61 64 | 69 6f 20 53 63 72 69 70 |Put "Rad|io Scrip|
|00001360| 74 73 3a 22 20 69 6e 74 | 6f 20 67 5f 51 54 52 61 |ts:" int|o g_QTRa|
|00001370| 64 69 6f 46 6f 6c 64 65 | 72 20 2d 2d 20 66 6f 6c |dioFolde|r -- fol|
|00001380| 64 65 72 20 66 6f 72 20 | 51 75 69 63 6b 54 69 6d |der for |QuickTim|
|00001390| 65 20 53 4e 44 0d 0d 2d | 2d 20 50 72 6f 64 75 63 |e SND..-|- Produc|
|000013a0| 74 20 41 72 74 0d 70 75 | 74 20 22 42 2f 57 20 45 |t Art.pu|t "B/W E|
|000013b0| 50 53 20 28 4c 69 6e 65 | 20 41 72 74 29 22 20 69 |PS (Line| Art)" i|
|000013c0| 6e 74 6f 20 67 5f 50 41 | 43 6f 6c 6f 72 42 57 20 |nto g_PA|ColorBW |
|000013d0| 2d 2d 20 53 75 62 2d 46 | 6f 6c 64 65 72 20 4e 61 |-- Sub-F|older Na|
|000013e0| 6d 65 20 d1 20 42 2f 57 | 0d 70 75 74 20 22 47 72 |me . B/W|.put "Gr|
|000013f0| 61 79 20 53 63 61 6c 65 | 20 45 50 53 22 20 69 6e |ay Scale| EPS" in|
|00001400| 74 6f 20 67 5f 50 41 43 | 6f 6c 6f 72 47 72 61 79 |to g_PAC|olorGray|
|00001410| 20 2d 2d 20 53 75 62 2d | 46 6f 6c 64 65 72 20 4e | -- Sub-|Folder N|
|00001420| 61 6d 65 20 d1 20 47 72 | 61 79 20 53 63 61 6c 65 |ame . Gr|ay Scale|
|00001430| 0d 70 75 74 20 22 43 6f | 6c 6f 72 20 45 50 53 22 |.put "Co|lor EPS"|
|00001440| 20 69 6e 74 6f 20 67 5f | 50 41 43 6f 6c 6f 72 43 | into g_|PAColorC|
|00001450| 6f 6c 6f 72 20 2d 2d 20 | 20 20 20 20 20 20 20 53 |olor -- | S|
|00001460| 75 62 2d 46 6f 6c 64 65 | 72 20 4e 61 6d 65 20 d1 |ub-Folde|r Name .|
|00001470| 20 43 6f 6c 6f 72 0d 0d | 2d 2d 20 44 61 74 61 73 | Color..|-- Datas|
|00001480| 68 65 65 74 73 0d 70 75 | 74 20 22 44 61 74 61 73 |heets.pu|t "Datas|
|00001490| 68 65 65 74 20 50 72 65 | 76 69 65 77 73 3a 22 20 |heet Pre|views:" |
|000014a0| 69 6e 74 6f 20 67 5f 44 | 53 70 61 74 68 54 6f 44 |into g_D|SpathToD|
|000014b0| 53 50 49 43 54 20 2d 2d | 20 46 6f 6c 64 65 72 20 |SPICT --| Folder |
|000014c0| 77 2f 44 53 20 70 72 65 | 76 69 65 77 73 0d 70 75 |w/DS pre|views.pu|
|000014d0| 74 20 22 44 65 73 63 72 | 69 70 74 69 76 65 20 43 |t "Descr|iptive C|
|000014e0| 6f 70 79 20 50 72 65 76 | 69 65 77 73 3a 44 65 73 |opy Prev|iews:Des|
|000014f0| 63 72 69 70 74 69 76 65 | 20 43 6f 70 79 22 c2 0d |criptive| Copy"..|
|00001500| 69 6e 74 6f 20 67 5f 44 | 53 70 61 74 68 54 6f 44 |into g_D|SpathToD|
|00001510| 43 50 49 43 54 20 2d 2d | 20 20 20 20 20 20 20 20 |CPICT --| |
|00001520| 46 6f 6c 64 65 72 20 77 | 2f 44 43 20 70 72 65 76 |Folder w|/DC prev|
|00001530| 69 65 77 2e 0d 2d 2d 20 | 20 20 20 20 20 20 20 4e |iew..-- | N|
|00001540| 4f 54 45 3a 20 4f 4e 4c | 59 20 4f 4e 45 20 46 49 |OTE: ONL|Y ONE FI|
|00001550| 4c 45 20 6e 6f 74 20 61 | 20 46 4f 4c 44 45 52 20 |LE not a| FOLDER |
|00001560| 6f 66 20 46 49 4c 45 53 | 0d 70 75 74 20 22 44 61 |of FILES|.put "Da|
|00001570| 74 61 73 68 65 65 74 20 | 46 69 6c 65 73 3a 22 20 |tasheet |Files:" |
|00001580| 69 6e 74 6f 20 67 5f 44 | 53 70 61 74 68 54 6f 44 |into g_D|SpathToD|
|00001590| 53 46 69 6c 65 73 20 2d | 2d 20 46 6f 6c 64 65 72 |SFiles -|- Folder|
|000015a0| 20 77 2f 44 53 20 46 69 | 6c 65 73 0d 70 75 74 20 | w/DS Fi|les.put |
|000015b0| 22 44 65 73 63 72 69 70 | 74 69 76 65 20 43 6f 70 |"Descrip|tive Cop|
|000015c0| 79 20 46 69 6c 65 73 3a | 22 20 69 6e 74 6f 20 67 |y Files:|" into g|
|000015d0| 5f 44 53 70 61 74 68 54 | 6f 44 43 46 69 6c 65 73 |_DSpathT|oDCFiles|
|000015e0| 20 20 2d 2d 20 46 6f 6c | 64 65 72 20 77 2f 44 43 | -- Fol|der w/DC|
|000015f0| 20 66 69 6c 65 73 0d 0d | 0d 2d 2d 20 20 20 20 20 | files..|.-- |
|00001600| 20 20 20 20 20 20 20 20 | 20 53 65 74 75 70 20 46 | | Setup F|
|00001610| 55 4c 4c 20 52 6f 6f 74 | 20 50 61 74 68 20 54 6f |ULL Root| Path To|
|00001620| 20 4d 61 69 6e 20 46 6f | 6c 64 65 72 73 2f 46 69 | Main Fo|lders/Fi|
|00001630| 6c 65 73 0d 70 75 74 20 | 46 75 6c 6c 52 6f 6f 74 |les.put |FullRoot|
|00001640| 50 61 74 68 20 28 29 20 | 69 6e 74 6f 20 67 5f 41 |Path () |into g_A|
|00001650| 4d 54 4b 53 74 61 63 6b | 50 61 74 68 20 2d 2d 20 |MTKStack|Path -- |
|00001660| 47 65 74 20 50 61 74 68 | 4e 61 6d 65 20 77 2f 45 |Get Path|Name w/E|
|00001670| 6e 64 69 6e 67 20 43 4f | 4c 4f 4e 0d 70 75 74 20 |nding CO|LON.put |
|00001680| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00001690| 69 73 20 73 74 61 63 6b | 20 69 6e 74 6f 20 67 5f |is stack| into g_|
|000016a0| 41 4d 54 4b 53 74 61 63 | 6b 4e 61 6d 65 20 2d 2d |AMTKStac|kName --|
|000016b0| 20 4e 61 6d 65 20 6f 6e | 6c 79 0d 0d 70 75 74 20 | Name on|ly..put |
|000016c0| 67 5f 41 4d 54 4b 53 74 | 61 63 6b 50 61 74 68 20 |g_AMTKSt|ackPath |
|000016d0| 26 20 67 5f 49 6e 74 65 | 72 6e 61 6c 46 6f 6c 64 |& g_Inte|rnalFold|
|000016e0| 65 72 20 26 20 22 41 4d | 54 4b 20 48 65 6c 70 3a |er & "AM|TK Help:|
|000016f0| 48 65 6c 70 20 53 74 61 | 63 6b 22 c2 0d 69 6e 74 |Help Sta|ck"..int|
|00001700| 6f 20 67 5f 48 45 4c 50 | 53 74 61 63 6b 50 61 74 |o g_HELP|StackPat|
|00001710| 68 0d 0d 70 75 74 20 67 | 5f 41 4d 54 4b 53 74 61 |h..put g|_AMTKSta|
|00001720| 63 6b 50 61 74 68 20 26 | 20 67 5f 49 6e 74 65 72 |ckPath &| g_Inter|
|00001730| 6e 61 6c 46 6f 6c 64 65 | 72 20 26 20 22 57 69 6e |nalFolde|r & "Win|
|00001740| 6e 65 72 20 50 49 43 54 | 73 3a 57 69 6e 6e 65 72 |ner PICT|s:Winner|
|00001750| 20 50 49 43 54 20 22 c2 | 0d 69 6e 74 6f 20 67 5f | PICT ".|.into g_|
|00001760| 50 61 74 68 54 6f 57 69 | 6e 6e 65 72 73 20 2d 2d |PathToWi|nners --|
|00001770| 20 6e 65 77 20 63 6f 6e | 74 65 73 74 20 77 69 6e | new con|test win|
|00001780| 6e 65 72 73 0d 2d 2d 20 | 4e 4f 54 45 3a 20 50 41 |ners.-- |NOTE: PA|
|00001790| 52 54 49 41 4c 20 50 41 | 54 48 20 66 6f 72 20 57 |RTIAL PA|TH for W|
|000017a0| 69 6e 6e 65 72 20 50 49 | 43 54 53 2c 20 69 65 2e |inner PI|CTS, ie.|
|000017b0| 2c 20 23 31 20 74 6f 20 | 23 35 20 61 70 70 65 6e |, #1 to |#5 appen|
|000017c0| 64 65 64 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 67 |ded.put |0 into g|
|000017d0| 5f 43 6f 6e 74 65 73 74 | 57 69 6e 6e 65 72 43 4f |_Contest|WinnerCO|
|000017e0| 55 4e 54 20 2d 2d 20 63 | 6f 6e 74 65 73 74 20 77 |UNT -- c|ontest w|
|000017f0| 69 6e 6e 65 72 73 20 73 | 6c 69 64 65 73 68 6f 77 |inners s|lideshow|
|00001800| 20 43 4f 55 4e 54 0d 2d | 2d 20 4e 4f 54 45 3a 20 | COUNT.-|- NOTE: |
|00001810| 31 20 74 6f 20 35 20 3d | 20 73 68 6f 77 69 6e 67 |1 to 5 =| showing|
|00001820| 20 73 6c 69 64 65 73 68 | 6f 77 3b 20 20 20 30 20 | slidesh|ow; 0 |
|00001830| 3d 20 6e 6f 74 20 73 68 | 6f 77 69 6e 67 20 73 6c |= not sh|owing sl|
|00001840| 69 64 65 73 68 6f 77 0d | 0d 0d 2d 2d 20 20 20 20 |ideshow.|..-- |
|00001850| 20 20 20 20 20 43 4f 4e | 53 54 41 4e 54 53 0d 70 | CON|STANTS.p|
|00001860| 75 74 20 31 32 20 69 6e | 74 6f 20 67 5f 46 6c 64 |ut 12 in|to g_Fld|
|00001870| 73 50 65 72 52 65 63 20 | 2d 2d 20 4e 75 6d 62 65 |sPerRec |-- Numbe|
|00001880| 72 20 6f 66 20 46 69 65 | 6c 64 73 20 69 6e 20 65 |r of Fie|lds in e|
|00001890| 61 63 68 20 52 65 63 6f | 72 64 0d 0d 2d 2d 20 20 |ach Reco|rd..-- |
|000018a0| 20 20 20 20 20 20 20 50 | 52 45 46 45 52 45 4e 43 | P|REFERENC|
|000018b0| 45 53 0d 2d 2d 20 4e 4f | 54 45 3a 20 6f 6e 6c 79 |ES.-- NO|TE: only|
|000018c0| 20 6e 65 65 64 20 74 6f | 20 67 65 74 20 53 79 73 | need to| get Sys|
|000018d0| 50 61 74 68 20 2d 20 4e | 4f 20 50 4d 20 50 72 65 |Path - N|O PM Pre|
|000018e0| 66 73 20 61 6e 79 6d 6f | 72 65 0d 2d 2d 20 47 65 |fs anymo|re.-- Ge|
|000018f0| 74 50 72 65 66 65 72 65 | 6e 63 65 73 0d 70 75 74 |tPrefere|nces.put|
|00001900| 20 73 79 73 74 65 6d 50 | 61 74 68 28 29 20 69 6e | systemP|ath() in|
|00001910| 74 6f 20 67 5f 53 59 53 | 46 6f 6c 64 65 72 0d 73 |to g_SYS|Folder.s|
|00001920| 65 74 20 74 68 65 20 69 | 74 65 6d 44 65 6c 69 6d |et the i|temDelim|
|00001930| 69 74 65 72 20 74 6f 20 | 22 3a 22 0d 70 75 74 20 |iter to |":".put |
|00001940| 69 74 65 6d 20 31 20 6f | 66 20 67 5f 53 59 53 46 |item 1 o|f g_SYSF|
|00001950| 6f 6c 64 65 72 20 26 20 | 22 3a 22 20 69 6e 74 6f |older & |":" into|
|00001960| 20 67 5f 53 59 53 56 6f | 6c 75 6d 65 20 2d 2d 20 | g_SYSVo|lume -- |
|00001970| 4e 61 6d 65 20 6f 66 20 | 53 79 73 74 65 6d 20 68 |Name of |System h|
|00001980| 61 72 64 20 64 72 69 76 | 65 0d 0d 2d 2d 20 20 20 |ard driv|e..-- |
|00001990| 20 20 20 20 20 48 49 44 | 44 45 4e 20 46 49 45 4c | HID|DEN FIEL|
|000019a0| 44 53 0d 68 69 64 65 20 | 43 44 20 66 6c 64 20 22 |DS.hide |CD fld "|
|000019b0| 53 79 73 74 65 6d 20 54 | 65 78 74 22 0d 68 69 64 |System T|ext".hid|
|000019c0| 65 20 43 44 20 62 74 6e | 20 22 43 6c 69 63 6b 20 |e CD btn| "Click |
|000019d0| 74 6f 20 43 6f 6e 74 69 | 6e 75 65 22 0d 65 6e 64 |to Conti|nue".end|
|000019e0| 20 6f 70 65 6e 73 74 61 | 63 6b 0d 0d 0d 6f 6e 20 | opensta|ck...on |
|000019f0| 63 6c 6f 73 65 73 74 61 | 63 6b 0d 63 6f 6c 6f 72 |closesta|ck.color|
|00001a00| 69 7a 65 48 43 20 22 64 | 69 73 70 6f 73 65 22 0d |izeHC "d|ispose".|
|00001a10| 2d 2d 20 68 52 65 73 65 | 74 43 6f 6c 6f 72 4d 6f |-- hRese|tColorMo|
|00001a20| 64 65 0d 65 6e 64 20 63 | 6c 6f 73 65 73 74 61 63 |de.end c|losestac|
|00001a30| 6b 0d 0d 0d 0d 0d 0d 0d | 6f 6e 20 68 43 72 65 61 |k.......|on hCrea|
|00001a40| 74 65 4e 65 77 4d 65 6e | 75 73 0d 2d 2d 20 20 20 |teNewMen|us.-- |
|00001a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001a60| 20 20 20 52 45 4d 4f 56 | 45 20 4d 65 6e 75 73 0d | REMOV|E Menus.|
|00001a70| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|00001a80| 6e 75 20 22 73 74 79 6c | 65 22 20 74 68 65 6e 20 |nu "styl|e" then |
|00001a90| 64 65 6c 65 74 65 20 6d | 65 6e 75 20 22 73 74 79 |delete m|enu "sty|
|00001aa0| 6c 65 22 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |le".if t|here is |
|00001ab0| 61 20 6d 65 6e 75 20 22 | 66 6f 6e 74 22 20 74 68 |a menu "|font" th|
|00001ac0| 65 6e 20 64 65 6c 65 74 | 65 20 6d 65 6e 75 20 22 |en delet|e menu "|
|00001ad0| 66 6f 6e 74 22 0d 69 66 | 20 74 68 65 72 65 20 69 |font".if| there i|
|00001ae0| 73 20 61 20 6d 65 6e 75 | 20 22 6f 62 6a 65 63 74 |s a menu| "object|
|00001af0| 73 22 20 74 68 65 6e 20 | 64 65 6c 65 74 65 20 6d |s" then |delete m|
|00001b00| 65 6e 75 20 22 6f 62 6a | 65 63 74 73 22 0d 69 66 |enu "obj|ects".if|
|00001b10| 20 74 68 65 72 65 20 69 | 73 20 61 20 6d 65 6e 75 | there i|s a menu|
|00001b20| 20 22 74 6f 6f 6c 73 22 | 20 74 68 65 6e 20 64 65 | "tools"| then de|
|00001b30| 6c 65 74 65 20 6d 65 6e | 75 20 22 74 6f 6f 6c 73 |lete men|u "tools|
|00001b40| 22 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |".if the|re is a |
|00001b50| 6d 65 6e 75 20 22 67 6f | 22 20 74 68 65 6e 20 64 |menu "go|" then d|
|00001b60| 65 6c 65 74 65 20 6d 65 | 6e 75 20 22 67 6f 22 0d |elete me|nu "go".|
|00001b70| 0d 2d 2d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.-- | |
|00001b80| 20 20 20 20 20 20 20 20 | 20 4d 6f 64 69 66 79 20 | | Modify |
|00001b90| 45 44 49 54 20 26 20 46 | 49 4c 45 20 4d 65 6e 75 |EDIT & F|ILE Menu|
|00001ba0| 73 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |s.if the|re is a |
|00001bb0| 6d 65 6e 75 20 22 45 64 | 69 74 22 20 74 68 65 6e |menu "Ed|it" then|
|00001bc0| 20 64 65 6c 65 74 65 20 | 6d 65 6e 75 20 22 45 64 | delete |menu "Ed|
|00001bd0| 69 74 22 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |it".if t|here is |
|00001be0| 61 20 6d 65 6e 75 20 22 | 46 69 6c 65 22 20 74 68 |a menu "|File" th|
|00001bf0| 65 6e 20 64 65 6c 65 74 | 65 20 6d 65 6e 75 20 22 |en delet|e menu "|
|00001c00| 46 69 6c 65 22 0d 63 72 | 65 61 74 65 20 6d 65 6e |File".cr|eate men|
|00001c10| 75 20 22 46 69 6c 65 22 | 0d 63 72 65 61 74 65 20 |u "File"|.create |
|00001c20| 6d 65 6e 75 20 22 45 64 | 69 74 22 0d 64 69 73 61 |menu "Ed|it".disa|
|00001c30| 62 6c 65 20 6d 65 6e 75 | 20 22 45 64 69 74 22 0d |ble menu| "Edit".|
|00001c40| 70 75 74 20 22 51 75 69 | 74 22 20 69 6e 74 6f 20 |put "Qui|t" into |
|00001c50| 20 6d 65 6e 75 20 22 46 | 69 6c 65 22 0d 73 65 74 | menu "F|ile".set|
|00001c60| 20 6d 65 6e 75 4d 65 73 | 73 61 67 65 20 6f 66 20 | menuMes|sage of |
|00001c70| 4d 65 6e 75 69 74 65 6d | 20 31 20 6f 66 20 6d 65 |Menuitem| 1 of me|
|00001c80| 6e 75 20 22 46 69 6c 65 | 22 20 74 6f 20 22 64 6f |nu "File|" to "do|
|00001c90| 51 75 69 74 22 0d 73 65 | 74 20 63 6f 6d 6d 61 6e |Quit".se|t comman|
|00001ca0| 64 63 68 61 72 20 6f 66 | 20 4d 65 6e 75 69 74 65 |dchar of| Menuite|
|00001cb0| 6d 20 31 20 6f 66 20 6d | 65 6e 75 20 22 46 69 6c |m 1 of m|enu "Fil|
|00001cc0| 65 22 20 74 6f 20 22 51 | 22 0d 0d 0d 2d 2d 20 20 |e" to "Q|"...-- |
|00001cd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ce0| 20 20 20 20 4d 6f 64 69 | 66 79 20 41 50 50 4c 45 | Modi|fy APPLE|
|00001cf0| 20 4d 65 6e 75 0d 69 66 | 20 74 68 65 72 65 20 69 | Menu.if| there i|
|00001d00| 73 20 61 20 6d 65 6e 75 | 20 22 61 70 70 6c 65 22 |s a menu| "apple"|
|00001d10| 20 74 68 65 6e 0d 70 75 | 74 20 22 41 62 6f 75 74 | then.pu|t "About|
|00001d20| 20 41 4d 54 4b c9 22 20 | 69 6e 74 6f 20 c2 0d 6d | AMTK." |into ..m|
|00001d30| 65 6e 75 69 74 65 6d 20 | 31 20 6f 66 20 6d 65 6e |enuitem |1 of men|
|00001d40| 75 20 22 61 70 70 6c 65 | 22 20 77 69 74 68 20 6d |u "apple|" with m|
|00001d50| 65 6e 75 4d 65 73 73 61 | 67 65 73 20 22 68 4d 65 |enuMessa|ges "hMe|
|00001d60| 6e 75 41 62 6f 75 74 22 | 0d 65 6e 64 20 69 66 0d |nuAbout"|.end if.|
|00001d70| 0d 65 6e 64 20 68 43 72 | 65 61 74 65 4e 65 77 4d |.end hCr|eateNewM|
|00001d80| 65 6e 75 73 0d 0d 0d 6f | 6e 20 68 4d 65 6e 75 41 |enus...o|n hMenuA|
|00001d90| 62 6f 75 74 0d 61 6e 73 | 77 65 72 20 22 20 20 20 |bout.ans|wer " |
|00001da0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001db0| 20 41 70 70 6c 65 20 4d | 65 64 69 61 20 54 6f 6f | Apple M|edia Too|
|00001dc0| 6c 4b 69 74 22 20 26 20 | 52 45 54 55 52 4e 20 c2 |lKit" & |RETURN .|
|00001dd0| 0d 26 20 22 20 20 20 20 | 20 20 20 20 20 20 20 20 |.& " | |
|00001de0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4d | | M|
|00001df0| 61 79 20 31 39 39 34 22 | 20 26 20 52 45 54 55 52 |ay 1994"| & RETUR|
|00001e00| 4e 0d 65 6e 64 20 68 4d | 65 6e 75 41 62 6f 75 74 |N.end hM|enuAbout|
|00001e10| 0d 0d 0d 6f 6e 20 68 52 | 4d 0d 72 65 73 65 74 20 |...on hR|M.reset |
|00001e20| 6d 65 6e 75 62 61 72 0d | 65 6e 64 20 68 52 4d 0d |menubar.|end hRM.|
|00001e30| 0d 0d 0d 0d 6f 6e 20 64 | 6f 48 65 6c 70 53 74 61 |....on d|oHelpSta|
|00001e40| 63 6b 0d 47 6c 6f 62 61 | 6c 20 67 5f 41 4d 54 4b |ck.Globa|l g_AMTK|
|00001e50| 53 74 61 63 6b 50 61 74 | 68 2c 20 67 5f 41 4d 54 |StackPat|h, g_AMT|
|00001e60| 4b 53 74 61 63 6b 4e 61 | 6d 65 0d 47 6c 6f 62 61 |KStackNa|me.Globa|
|00001e70| 6c 20 67 5f 53 59 53 46 | 6f 6c 64 65 72 2c 20 67 |l g_SYSF|older, g|
|00001e80| 5f 53 59 53 56 6f 6c 75 | 6d 65 0d 47 6c 6f 62 61 |_SYSVolu|me.Globa|
|00001e90| 6c 20 67 5f 49 6e 74 65 | 72 6e 61 6c 46 6f 6c 64 |l g_Inte|rnalFold|
|00001ea0| 65 72 0d 0d 47 6c 6f 62 | 61 6c 20 67 5f 48 45 4c |er..Glob|al g_HEL|
|00001eb0| 50 53 74 61 63 6b 50 61 | 74 68 0d 47 6c 6f 62 61 |PStackPa|th.Globa|
|00001ec0| 6c 20 67 5f 52 65 74 75 | 72 6e 46 72 6f 6d 48 65 |l g_Retu|rnFromHe|
|00001ed0| 6c 70 0d 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |lp..lock| screen.|
|00001ee0| 0d 70 75 74 20 69 64 20 | 6f 66 20 74 68 69 73 20 |.put id |of this |
|00001ef0| 43 41 52 44 20 69 6e 74 | 6f 20 67 5f 52 65 74 75 |CARD int|o g_Retu|
|00001f00| 72 6e 46 72 6f 6d 48 65 | 6c 70 0d 2d 2d 20 70 75 |rnFromHe|lp.-- pu|
|00001f10| 74 20 67 5f 52 65 74 75 | 72 6e 46 72 6f 6d 48 65 |t g_Retu|rnFromHe|
|00001f20| 6c 70 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 67 |lp.lock |screen.g|
|00001f30| 6f 20 63 64 20 31 20 6f | 66 20 73 74 61 63 6b 20 |o cd 1 o|f stack |
|00001f40| 67 5f 48 45 4c 50 53 74 | 61 63 6b 50 61 74 68 0d |g_HELPSt|ackPath.|
|00001f50| 65 6e 64 20 64 6f 48 65 | 6c 70 53 74 61 63 6b 0d |end doHe|lpStack.|
|00001f60| 0d 0d b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00001f70| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00001f80| b0 b0 b0 b0 b0 b0 b0 b0 | b0 0d 0d 66 75 6e 63 74 |........|...funct|
|00001f90| 69 6f 6e 20 68 47 65 74 | 41 70 70 6c 4c 69 73 74 |ion hGet|ApplList|
|00001fa0| 0d 70 75 74 20 41 70 70 | 6c 69 63 61 74 69 6f 6e |.put App|lication|
|00001fb0| 4c 69 73 74 28 29 20 69 | 6e 74 6f 20 74 6d 70 0d |List() i|nto tmp.|
|00001fc0| 70 75 74 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |put numb|er of li|
|00001fd0| 6e 65 73 20 6f 66 20 41 | 70 70 6c 69 63 61 74 69 |nes of A|pplicati|
|00001fe0| 6f 6e 4c 69 73 74 28 29 | 20 69 6e 74 6f 20 63 6e |onList()| into cn|
|00001ff0| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |t.repeat| with x |
|00002000| 3d 31 20 74 6f 20 63 6e | 74 0d 64 65 6c 65 74 65 |=1 to cn|t.delete|
|00002010| 20 6c 61 73 74 20 77 6f | 72 64 20 6f 66 20 6c 69 | last wo|rd of li|
|00002020| 6e 65 20 78 20 6f 66 20 | 74 6d 70 0d 64 65 6c 65 |ne x of |tmp.dele|
|00002030| 74 65 20 6c 61 73 74 20 | 77 6f 72 64 20 6f 66 20 |te last |word of |
|00002040| 6c 69 6e 65 20 78 20 6f | 66 20 74 6d 70 0d 69 66 |line x o|f tmp.if|
|00002050| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 6c 69 | last ch|ar of li|
|00002060| 6e 65 20 78 20 6f 66 20 | 74 6d 70 20 3d 20 53 50 |ne x of |tmp = SP|
|00002070| 41 43 45 20 74 68 65 6e | 20 64 65 6c 65 74 65 20 |ACE then| delete |
|00002080| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 6c 69 6e |last cha|r of lin|
|00002090| 65 20 78 20 6f 66 20 74 | 6d 70 0d 65 6e 64 20 72 |e x of t|mp.end r|
|000020a0| 65 70 65 61 74 0d 72 65 | 74 75 72 6e 20 28 74 6d |epeat.re|turn (tm|
|000020b0| 70 26 52 45 54 55 52 4e | 29 0d 65 6e 64 20 68 47 |p&RETURN|).end hG|
|000020c0| 65 74 41 70 70 6c 4c 69 | 73 74 0d 0d 0d 66 75 6e |etApplLi|st...fun|
|000020d0| 63 74 69 6f 6e 20 68 47 | 65 74 41 70 70 6c 4d 65 |ction hG|etApplMe|
|000020e0| 6d 53 69 7a 65 20 61 70 | 70 4e 61 6d 65 0d 2d 2d |mSize ap|pName.--|
|000020f0| 70 75 74 20 61 70 70 4e | 61 6d 65 0d 70 75 74 20 |put appN|ame.put |
|00002100| 41 70 70 6c 69 63 61 74 | 69 6f 6e 4c 69 73 74 28 |Applicat|ionList(|
|00002110| 29 20 69 6e 74 6f 20 74 | 6d 70 0d 70 75 74 20 6e |) into t|mp.put n|
|00002120| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00002130| 66 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 4c 69 73 |f Applic|ationLis|
|00002140| 74 28 29 20 69 6e 74 6f | 20 63 6e 74 0d 72 65 70 |t() into| cnt.rep|
|00002150| 65 61 74 20 77 69 74 68 | 20 78 20 3d 31 20 74 6f |eat with| x =1 to|
|00002160| 20 63 6e 74 0d 69 66 20 | 61 70 70 4e 61 6d 65 20 | cnt.if |appName |
|00002170| 69 73 20 4e 4f 54 20 69 | 6e 20 6c 69 6e 65 20 78 |is NOT i|n line x|
|00002180| 20 6f 66 20 74 6d 70 20 | 74 68 65 6e 20 6e 65 78 | of tmp |then nex|
|00002190| 74 20 72 65 70 65 61 74 | 0d 64 65 6c 65 74 65 20 |t repeat|.delete |
|000021a0| 6c 61 73 74 20 77 6f 72 | 64 20 6f 66 20 6c 69 6e |last wor|d of lin|
|000021b0| 65 20 78 20 6f 66 20 74 | 6d 70 0d 69 66 20 6c 61 |e x of t|mp.if la|
|000021c0| 73 74 20 63 68 61 72 20 | 6f 66 20 6c 69 6e 65 20 |st char |of line |
|000021d0| 78 20 6f 66 20 74 6d 70 | 20 3d 20 53 50 41 43 45 |x of tmp| = SPACE|
|000021e0| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6c 61 73 | then de|lete las|
|000021f0| 74 20 63 68 61 72 20 6f | 66 20 6c 69 6e 65 20 78 |t char o|f line x|
|00002200| 20 6f 66 20 74 6d 70 0d | 65 78 69 74 20 72 65 70 | of tmp.|exit rep|
|00002210| 65 61 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 72 |eat.end |repeat.r|
|00002220| 65 74 75 72 6e 20 28 6c | 61 73 74 20 77 6f 72 64 |eturn (l|ast word|
|00002230| 20 6f 66 20 6c 69 6e 65 | 20 78 20 6f 66 20 74 6d | of line| x of tm|
|00002240| 70 29 0d 65 6e 64 20 68 | 47 65 74 41 70 70 6c 4d |p).end h|GetApplM|
|00002250| 65 6d 53 69 7a 65 0d 0d | 56 6f 6c 75 6d 65 4c 69 |emSize..|VolumeLi|
|00002260| 73 74 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 68 47 65 |st..func|tion hGe|
|00002270| 74 56 6f 6c 75 6d 65 4c | 69 73 74 0d 67 65 74 20 |tVolumeL|ist.get |
|00002280| 56 6f 6c 75 6d 65 4c 69 | 73 74 20 28 29 0d 72 65 |VolumeLi|st ().re|
|00002290| 74 75 72 6e 20 28 69 74 | 29 20 2d 2d 20 61 6c 6c |turn (it|) -- all|
|000022a0| 20 6f 6e 2d 6c 69 6e 65 | 20 76 6f 6c 75 6d 65 73 | on-line| volumes|
|000022b0| 0d 65 6e 64 20 68 47 65 | 74 56 6f 6c 75 6d 65 4c |.end hGe|tVolumeL|
|000022c0| 69 73 74 0d 0d 66 75 6e | 63 74 69 6f 6e 20 68 47 |ist..fun|ction hG|
|000022d0| 65 74 46 72 65 65 44 69 | 73 6b 53 70 61 63 65 20 |etFreeDi|skSpace |
|000022e0| 76 6f 6c 75 6d 65 4e 61 | 6d 65 0d 67 65 74 20 56 |volumeNa|me.get V|
|000022f0| 6f 6c 75 6d 65 44 69 73 | 6b 53 70 61 63 65 20 28 |olumeDis|kSpace (|
|00002300| 76 6f 6c 75 6d 65 4e 61 | 6d 65 29 0d 72 65 74 75 |volumeNa|me).retu|
|00002310| 72 6e 20 28 69 74 29 20 | 2d 2d 20 66 72 65 65 20 |rn (it) |-- free |
|00002320| 73 70 61 63 65 20 6f 6e | 20 53 65 6c 65 63 74 65 |space on| Selecte|
|00002330| 64 20 64 72 69 76 65 0d | 65 6e 64 20 68 47 65 74 |d drive.|end hGet|
|00002340| 46 72 65 65 44 69 73 6b | 53 70 61 63 65 0d 0d b0 |FreeDisk|Space...|
|00002350| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00002360| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00002370| b0 b0 b0 b0 b0 b0 0d 0d | 0d 66 75 6e 63 74 69 6f |........|.functio|
|00002380| 6e 20 68 47 65 74 53 79 | 73 74 65 6d 49 6e 66 6f |n hGetSy|stemInfo|
|00002390| 0d 47 6c 6f 62 61 6c 20 | 67 5f 53 79 73 5f 41 62 |.Global |g_Sys_Ab|
|000023a0| 6f 72 74 5f 46 6c 61 67 | 0d 0d 47 6c 6f 62 61 6c |ort_Flag|..Global|
|000023b0| 20 67 5f 53 79 73 56 65 | 72 73 46 4c 41 47 2c 20 | g_SysVe|rsFLAG, |
|000023c0| 67 5f 46 6f 6e 74 46 4c | 41 47 2c 20 67 5f 43 6f |g_FontFL|AG, g_Co|
|000023d0| 6c 6f 72 46 4c 41 47 2c | 20 67 5f 43 6f 6c 6f 72 |lorFLAG,| g_Color|
|000023e0| 4d 4f 44 45 0d 47 6c 6f | 62 61 6c 20 67 5f 43 75 |MODE.Glo|bal g_Cu|
|000023f0| 72 72 65 6e 74 48 79 70 | 65 72 43 61 72 64 46 4c |rrentHyp|erCardFL|
|00002400| 41 47 2c 20 67 5f 43 75 | 72 72 65 6e 74 50 61 67 |AG, g_Cu|rrentPag|
|00002410| 65 4d 61 6b 65 72 46 4c | 41 47 0d 47 6c 6f 62 61 |eMakerFL|AG.Globa|
|00002420| 6c 20 67 5f 45 6e 6f 75 | 67 68 48 43 6d 65 6d 46 |l g_Enou|ghHCmemF|
|00002430| 4c 41 47 2c 20 67 5f 45 | 6e 6f 75 67 68 50 4d 6d |LAG, g_E|noughPMm|
|00002440| 65 6d 46 4c 41 47 0d 47 | 6c 6f 62 61 6c 20 67 5f |emFLAG.G|lobal g_|
|00002450| 54 6f 74 52 41 4d 2c 20 | 20 67 5f 54 6f 74 52 41 |TotRAM, | g_TotRA|
|00002460| 4d 4c 65 66 74 2c 20 67 | 5f 54 6f 74 48 65 61 70 |MLeft, g|_TotHeap|
|00002470| 4c 65 66 74 0d 0d 47 6c | 6f 62 61 6c 20 67 45 72 |Left..Gl|obal gEr|
|00002480| 72 6f 72 53 74 72 20 2d | 2d 20 55 73 65 64 20 66 |rorStr -|- Used f|
|00002490| 6f 72 20 41 70 70 6c 65 | 20 58 43 4d 44 73 0d 47 |or Apple| XCMDs.G|
|000024a0| 6c 6f 62 61 6c 20 67 5f | 43 75 72 53 63 72 65 65 |lobal g_|CurScree|
|000024b0| 6e 43 6f 6c 6f 72 0d 0d | 2d 2d 20 20 20 20 20 20 |nColor..|-- |
|000024c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 41 73 73 | | Ass|
|000024d0| 75 6d 65 20 65 76 65 72 | 79 74 68 69 6e 67 73 20 |ume ever|ythings |
|000024e0| 4f 4b 0d 70 75 74 20 45 | 4d 50 54 59 20 69 6e 74 |OK.put E|MPTY int|
|000024f0| 6f 20 67 5f 53 79 73 5f | 41 62 6f 72 74 5f 46 6c |o g_Sys_|Abort_Fl|
|00002500| 61 67 20 2d 2d 20 46 4c | 41 47 20 54 4f 20 45 58 |ag -- FL|AG TO EX|
|00002510| 49 54 20 48 43 0d 70 75 | 74 20 54 52 55 45 20 69 |IT HC.pu|t TRUE i|
|00002520| 6e 74 6f 20 67 5f 43 75 | 72 72 65 6e 74 48 79 70 |nto g_Cu|rrentHyp|
|00002530| 65 72 43 61 72 64 46 4c | 41 47 20 2d 2d 20 51 55 |erCardFL|AG -- QU|
|00002540| 49 54 20 69 66 20 46 41 | 4c 53 45 20 28 2a 2a 4e |IT if FA|LSE (**N|
|00002550| 4f 57 2a 2a 29 0d 70 75 | 74 20 54 52 55 45 20 69 |OW**).pu|t TRUE i|
|00002560| 6e 74 6f 20 67 5f 43 75 | 72 72 65 6e 74 50 61 67 |nto g_Cu|rrentPag|
|00002570| 65 4d 61 6b 65 72 46 4c | 41 47 20 2d 2d 20 43 6f |eMakerFL|AG -- Co|
|00002580| 6e 74 69 6e 75 65 20 69 | 66 20 46 41 4c 53 45 0d |ntinue i|f FALSE.|
|00002590| 70 75 74 20 54 52 55 45 | 20 69 6e 74 6f 20 67 5f |put TRUE| into g_|
|000025a0| 53 79 73 56 65 72 73 46 | 4c 41 47 20 2d 2d 20 20 |SysVersF|LAG -- |
|000025b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 51 55 | | QU|
|000025c0| 49 54 20 69 66 20 46 41 | 4c 53 45 20 28 2a 2a 4e |IT if FA|LSE (**N|
|000025d0| 4f 57 2a 2a 29 0d 70 75 | 74 20 54 52 55 45 20 69 |OW**).pu|t TRUE i|
|000025e0| 6e 74 6f 20 67 5f 46 6f | 6e 74 46 4c 41 47 20 2d |nto g_Fo|ntFLAG -|
|000025f0| 2d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |- | |
|00002600| 20 20 20 20 20 20 20 43 | 6f 6e 74 69 6e 75 65 20 | C|ontinue |
|00002610| 69 66 20 46 41 4c 53 45 | 0d 70 75 74 20 54 52 55 |if FALSE|.put TRU|
|00002620| 45 20 69 6e 74 6f 20 67 | 5f 45 6e 6f 75 67 68 48 |E into g|_EnoughH|
|00002630| 43 6d 65 6d 46 4c 41 47 | 20 2d 2d 20 51 55 49 54 |CmemFLAG| -- QUIT|
|00002640| 20 69 66 20 46 41 4c 53 | 45 20 28 2a 2a 4c 41 54 | if FALS|E (**LAT|
|00002650| 45 52 2a 2a 29 0d 70 75 | 74 20 54 52 55 45 20 69 |ER**).pu|t TRUE i|
|00002660| 6e 74 6f 20 67 5f 45 6e | 6f 75 67 68 50 4d 6d 65 |nto g_En|oughPMme|
|00002670| 6d 46 4c 41 47 20 2d 2d | 20 43 6f 6e 74 69 6e 75 |mFLAG --| Continu|
|00002680| 65 20 69 66 20 46 41 4c | 53 45 0d 70 75 74 20 45 |e if FAL|SE.put E|
|00002690| 4d 50 54 59 20 69 6e 74 | 6f 20 67 5f 54 6f 74 52 |MPTY int|o g_TotR|
|000026a0| 41 4d 0d 70 75 74 20 45 | 4d 50 54 59 20 69 6e 74 |AM.put E|MPTY int|
|000026b0| 6f 20 67 5f 54 6f 74 52 | 41 4d 4c 65 66 74 0d 70 |o g_TotR|AMLeft.p|
|000026c0| 75 74 20 45 4d 50 54 59 | 20 69 6e 74 6f 20 67 5f |ut EMPTY| into g_|
|000026d0| 54 6f 74 48 65 61 70 4c | 65 66 74 0d 0d 2d 2d 20 |TotHeapL|eft..-- |
|000026e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000026f0| 20 20 20 20 20 20 20 4d | 41 4e 44 41 54 4f 52 59 | M|ANDATORY|
|00002700| 20 43 48 45 43 4b 53 0d | 2d 2d 20 20 20 20 20 20 | CHECKS.|-- |
|00002710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002720| 20 20 43 68 65 63 6b 20 | 53 79 73 74 65 6d 20 56 | Check |System V|
|00002730| 65 72 73 69 6f 6e 0d 70 | 75 74 20 4d 61 63 54 79 |ersion.p|ut MacTy|
|00002740| 70 65 28 29 20 26 20 52 | 45 54 55 52 4e 20 69 6e |pe() & R|ETURN in|
|00002750| 74 6f 20 74 6d 70 0d 73 | 65 74 20 74 68 65 20 69 |to tmp.s|et the i|
|00002760| 74 65 6d 44 65 6c 69 6d | 69 74 65 72 20 74 6f 20 |temDelim|iter to |
|00002770| 43 4f 4d 4d 41 0d 70 75 | 74 20 69 74 65 6d 20 32 |COMMA.pu|t item 2|
|00002780| 20 6f 66 20 74 6d 70 20 | 69 6e 74 6f 20 74 53 79 | of tmp |into tSy|
|00002790| 73 56 65 72 73 20 2d 2d | 20 43 75 72 72 65 6e 74 |sVers --| Current|
|000027a0| 20 53 79 73 74 65 6d 20 | 56 65 72 73 69 6f 6e 0d | System |Version.|
|000027b0| 69 66 20 63 68 61 72 20 | 31 20 6f 66 20 74 53 79 |if char |1 of tSy|
|000027c0| 73 56 65 72 73 20 ad 20 | 22 37 22 20 74 68 65 6e |sVers . |"7" then|
|000027d0| 20 2d 2d 20 20 49 73 20 | 53 79 73 74 65 6d 20 37 | -- Is |System 7|
|000027e0| 3f 3f 0d 70 75 74 20 46 | 41 4c 53 45 20 69 6e 74 |??.put F|ALSE int|
|000027f0| 6f 20 67 5f 53 79 73 56 | 65 72 73 46 4c 41 47 20 |o g_SysV|ersFLAG |
|00002800| 2d 2d 20 4d 41 4a 4f 52 | 20 45 52 52 4f 52 0d 70 |-- MAJOR| ERROR.p|
|00002810| 75 74 20 54 52 55 45 20 | 69 6e 74 6f 20 67 5f 53 |ut TRUE |into g_S|
|00002820| 79 73 5f 41 62 6f 72 74 | 5f 46 6c 61 67 20 2d 2d |ys_Abort|_Flag --|
|00002830| 20 41 62 6f 72 74 20 61 | 74 20 31 73 74 20 6f 70 | Abort a|t 1st op|
|00002840| 70 6f 72 74 75 6e 69 74 | 79 0d 72 65 74 75 72 6e |portunit|y.return|
|00002850| 20 28 46 41 4c 53 45 29 | 20 2d 2d 20 45 58 49 54 | (FALSE)| -- EXIT|
|00002860| 20 77 2f 46 4c 41 47 20 | 2d 20 67 6f 20 6e 6f 20 | w/FLAG |- go no |
|00002870| 66 75 72 74 68 65 72 0d | 65 6e 64 20 69 66 0d 0d |further.|end if..|
|00002880| 2d 2d 20 20 20 20 20 20 | 20 20 20 20 20 20 43 68 |-- | Ch|
|00002890| 65 63 6b 20 66 6f 72 20 | 43 6f 6c 6f 72 2f 4d 6f |eck for |Color/Mo|
|000028a0| 6e 69 74 6f 72 20 73 69 | 7a 65 0d 68 47 65 74 43 |nitor si|ze.hGetC|
|000028b0| 6f 6c 6f 72 4d 6f 64 65 | 0d 67 65 74 20 74 68 65 |olorMode|.get the|
|000028c0| 20 73 63 72 65 65 6e 72 | 65 63 74 0d 2d 2d 20 70 | screenr|ect.-- p|
|000028d0| 75 74 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |ut short| name of|
|000028e0| 20 74 68 69 73 20 73 74 | 61 63 6b 20 69 6e 74 6f | this st|ack into|
|000028f0| 20 73 4e 61 6d 65 0d 2d | 2d 20 73 65 74 20 74 68 | sName.-|- set th|
|00002900| 65 20 72 65 63 74 20 6f | 66 20 77 69 6e 64 6f 77 |e rect o|f window|
|00002910| 20 73 4e 61 6d 65 20 74 | 6f 20 69 74 0d 2d 2d 20 | sName t|o it.-- |
|00002920| 70 75 74 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |put the |rect of |
|00002930| 77 69 6e 64 6f 77 20 73 | 4e 61 6d 65 0d 73 65 74 |window s|Name.set|
|00002940| 20 74 68 65 20 69 74 65 | 6d 44 65 6c 69 6d 69 74 | the ite|mDelimit|
|00002950| 65 72 20 74 6f 20 43 4f | 4d 4d 41 0d 69 66 20 69 |er to CO|MMA.if i|
|00002960| 74 65 6d 20 33 20 6f 66 | 20 67 5f 43 75 72 53 63 |tem 3 of| g_CurSc|
|00002970| 72 65 65 6e 43 6f 6c 6f | 72 20 3c 20 38 20 c2 0d |reenColo|r < 8 ..|
|00002980| 6f 72 20 69 74 65 6d 20 | 33 20 6f 66 20 69 74 20 |or item |3 of it |
|00002990| 3c 20 22 36 34 30 22 20 | c2 0d 6f 72 20 69 74 65 |< "640" |..or ite|
|000029a0| 6d 20 34 20 6f 66 20 69 | 74 20 3c 20 22 34 38 30 |m 4 of i|t < "480|
|000029b0| 22 20 74 68 65 6e 0d 70 | 75 74 20 46 41 4c 53 45 |" then.p|ut FALSE|
|000029c0| 20 69 6e 74 6f 20 67 5f | 43 6f 6c 6f 72 46 4c 41 | into g_|ColorFLA|
|000029d0| 47 20 2d 2d 20 4d 41 4a | 4f 52 20 45 52 52 4f 52 |G -- MAJ|OR ERROR|
|000029e0| 0d 70 75 74 20 54 52 55 | 45 20 69 6e 74 6f 20 67 |.put TRU|E into g|
|000029f0| 5f 53 79 73 5f 41 62 6f | 72 74 5f 46 6c 61 67 20 |_Sys_Abo|rt_Flag |
|00002a00| 2d 2d 20 41 62 6f 72 74 | 20 61 74 20 31 73 74 20 |-- Abort| at 1st |
|00002a10| 6f 70 70 6f 72 74 75 6e | 69 74 79 0d 72 65 74 75 |opportun|ity.retu|
|00002a20| 72 6e 20 28 46 41 4c 53 | 45 29 20 2d 2d 20 45 58 |rn (FALS|E) -- EX|
|00002a30| 49 54 20 77 2f 46 4c 41 | 47 20 2d 20 67 6f 20 6e |IT w/FLA|G - go n|
|00002a40| 6f 20 66 75 72 74 68 65 | 72 0d 65 6e 64 20 69 66 |o furthe|r.end if|
|00002a50| 0d 0d 2d 2d 20 20 20 4e | 65 77 20 63 68 65 63 6b |..-- N|ew check|
|00002a60| 20 66 6f 72 20 63 6f 6c | 6f 72 20 6d 6f 64 65 20 | for col|or mode |
|00002a70| 28 31 2f 39 34 29 2e 20 | 4e 65 65 64 65 64 20 62 |(1/94). |Needed b|
|00002a80| 65 63 61 75 73 65 20 6f | 66 20 41 56 20 4d 61 63 |ecause o|f AV Mac|
|00002a90| 73 0d 69 66 20 69 74 65 | 6d 20 32 20 6f 66 20 67 |s.if ite|m 2 of g|
|00002aa0| 5f 43 75 72 53 63 72 65 | 65 6e 43 6f 6c 6f 72 20 |_CurScre|enColor |
|00002ab0| ad 20 38 20 20 74 68 65 | 6e 0d 70 75 74 20 46 41 |. 8 the|n.put FA|
|00002ac0| 4c 53 45 20 69 6e 74 6f | 20 67 5f 43 6f 6c 6f 72 |LSE into| g_Color|
|00002ad0| 4d 4f 44 45 20 2d 2d 20 | 4d 41 4a 4f 52 20 45 52 |MODE -- |MAJOR ER|
|00002ae0| 52 4f 52 0d 70 75 74 20 | 54 52 55 45 20 69 6e 74 |ROR.put |TRUE int|
|00002af0| 6f 20 67 5f 53 79 73 5f | 41 62 6f 72 74 5f 46 6c |o g_Sys_|Abort_Fl|
|00002b00| 61 67 20 2d 2d 20 41 62 | 6f 72 74 20 61 74 20 31 |ag -- Ab|ort at 1|
|00002b10| 73 74 20 6f 70 70 6f 72 | 74 75 6e 69 74 79 0d 72 |st oppor|tunity.r|
|00002b20| 65 74 75 72 6e 20 28 46 | 41 4c 53 45 29 20 2d 2d |eturn (F|ALSE) --|
|00002b30| 20 45 58 49 54 20 77 2f | 46 4c 41 47 20 2d 20 67 | EXIT w/|FLAG - g|
|00002b40| 6f 20 6e 6f 20 66 75 72 | 74 68 65 72 0d 65 6e 64 |o no fur|ther.end|
|00002b50| 20 69 66 0d 0d 2d 2d 68 | 53 65 74 43 6f 6c 6f 72 | if..--h|SetColor|
|00002b60| 4d 6f 64 65 20 2d 2d 20 | 53 77 69 74 63 68 20 6d |Mode -- |Switch m|
|00002b70| 6f 6e 69 74 6f 72 20 74 | 6f 20 38 20 62 69 74 20 |onitor t|o 8 bit |
|00002b80| 6d 6f 64 65 0d 0d 2d 2d | 20 2d 2d 20 2d 2d 20 20 |mode..--| -- -- |
|00002b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 43 | | C|
|00002ba0| 68 65 63 6b 20 66 6f 72 | 20 48 79 70 65 72 43 61 |heck for| HyperCa|
|00002bb0| 72 64 20 76 65 72 73 69 | 6f 6e 0d 2d 2d 20 2d 2d |rd versi|on.-- --|
|00002bc0| 20 69 66 20 74 68 65 20 | 76 65 72 73 69 6f 6e 20 | if the |version |
|00002bd0| 6f 66 20 48 79 70 65 72 | 43 61 72 64 20 3c 20 32 |of Hyper|Card < 2|
|00002be0| 2e 31 20 74 68 65 6e 0d | 2d 2d 20 2d 2d 20 70 75 |.1 then.|-- -- pu|
|00002bf0| 74 20 46 41 4c 53 45 20 | 69 6e 74 6f 20 67 5f 43 |t FALSE |into g_C|
|00002c00| 75 72 72 65 6e 74 48 79 | 70 65 72 43 61 72 64 46 |urrentHy|perCardF|
|00002c10| 4c 41 47 20 2d 2d 20 4d | 41 4a 4f 52 20 45 52 52 |LAG -- M|AJOR ERR|
|00002c20| 4f 52 0d 2d 2d 20 2d 2d | 20 70 75 74 20 54 52 55 |OR.-- --| put TRU|
|00002c30| 45 20 69 6e 74 6f 20 67 | 5f 53 79 73 5f 41 62 6f |E into g|_Sys_Abo|
|00002c40| 72 74 5f 46 6c 61 67 20 | 2d 2d 20 41 62 6f 72 74 |rt_Flag |-- Abort|
|00002c50| 20 61 74 20 31 73 74 20 | 6f 70 70 6f 72 74 75 6e | at 1st |opportun|
|00002c60| 69 74 79 0d 2d 2d 20 2d | 2d 20 72 65 74 75 72 6e |ity.-- -|- return|
|00002c70| 20 28 46 41 4c 53 45 29 | 20 2d 2d 20 45 58 49 54 | (FALSE)| -- EXIT|
|00002c80| 20 77 2f 46 4c 41 47 20 | 2d 20 67 6f 20 6e 6f 20 | w/FLAG |- go no |
|00002c90| 66 75 72 74 68 65 72 0d | 2d 2d 20 2d 2d 20 65 6e |further.|-- -- en|
|00002ca0| 64 20 69 66 0d 0d 2d 2d | 20 20 20 20 20 20 20 20 |d if..--| |
|00002cb0| 20 20 20 20 20 20 4f 50 | 54 49 4f 4e 41 4c 20 43 | OP|TIONAL C|
|00002cc0| 48 45 43 4b 53 20 28 65 | 78 63 65 70 74 20 48 43 |HECKS (e|xcept HC|
|00002cd0| 20 6d 65 6d 6f 72 79 20 | 6c 65 66 74 29 0d 2d 2d | memory |left).--|
|00002ce0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cf0| 20 20 20 20 20 20 20 47 | 45 54 20 4d 69 73 63 20 | G|ET Misc |
|00002d00| 53 79 73 74 65 6d 20 49 | 6e 66 6f 0d 0d 70 75 74 |System I|nfo..put|
|00002d10| 20 54 6f 74 61 6c 52 41 | 4d 28 29 20 64 69 76 20 | TotalRA|M() div |
|00002d20| 31 30 32 34 20 69 6e 74 | 6f 20 67 5f 54 6f 74 52 |1024 int|o g_TotR|
|00002d30| 41 4d 20 2d 2d 20 54 6f | 74 61 6c 20 52 41 4d 20 |AM -- To|tal RAM |
|00002d40| 69 6e 20 4d 61 63 0d 70 | 75 74 20 61 70 70 6c 4d |in Mac.p|ut applM|
|00002d50| 65 6d 6f 72 79 28 22 6e | 6f 44 69 61 6c 6f 67 3a |emory("n|oDialog:|
|00002d60| 67 45 72 72 6f 72 53 74 | 72 22 29 20 69 6e 74 6f |gErrorSt|r") into|
|00002d70| 20 67 5f 54 6f 74 52 41 | 4d 4c 65 66 74 0d 69 66 | g_TotRA|MLeft.if|
|00002d80| 20 67 45 72 72 6f 72 53 | 74 72 20 3d 20 22 22 20 | gErrorS|tr = "" |
|00002d90| 74 68 65 6e 0d 70 75 74 | 20 67 5f 54 6f 74 52 41 |then.put| g_TotRA|
|00002da0| 4d 4c 65 66 74 20 64 69 | 76 20 31 30 32 34 20 69 |MLeft di|v 1024 i|
|00002db0| 6e 74 6f 20 67 5f 54 6f | 74 52 41 4d 4c 65 66 74 |nto g_To|tRAMLeft|
|00002dc0| 20 2d 2d 20 4d 61 63 20 | 66 72 65 65 20 52 41 4d | -- Mac |free RAM|
|00002dd0| 0d 65 6c 73 65 20 70 75 | 74 20 30 20 69 6e 74 6f |.else pu|t 0 into|
|00002de0| 20 67 5f 54 6f 74 52 41 | 4d 4c 65 66 74 20 2d 2d | g_TotRA|MLeft --|
|00002df0| 20 45 52 52 4f 52 20 2d | 20 4f 75 74 20 6f 66 20 | ERROR -| Out of |
|00002e00| 4d 65 6d 6f 72 79 20 2d | 20 43 6f 6e 74 69 6e 75 |Memory -| Continu|
|00002e10| 65 0d 70 75 74 20 74 68 | 65 20 68 65 61 70 73 70 |e.put th|e heapsp|
|00002e20| 61 63 65 20 64 69 76 20 | 31 30 32 34 20 69 6e 74 |ace div |1024 int|
|00002e30| 6f 20 67 5f 54 6f 74 48 | 65 61 70 4c 65 66 74 20 |o g_TotH|eapLeft |
|00002e40| 2d 2d 20 48 43 20 48 65 | 61 70 20 73 69 7a 65 0d |-- HC He|ap size.|
|00002e50| 0d 2d 2d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.-- | |
|00002e60| 20 20 20 20 20 20 48 79 | 70 65 72 43 61 72 64 20 | Hy|perCard |
|00002e70| 6d 65 6d 6f 72 79 20 63 | 68 65 63 6b 0d 2d 2d 20 |memory c|heck.-- |
|00002e80| 4e 4f 54 45 3a 20 49 66 | 20 6e 6f 74 20 65 6e 6f |NOTE: If| not eno|
|00002e90| 75 67 68 20 48 43 20 6d | 65 6d 6f 72 79 2c 20 66 |ugh HC m|emory, f|
|00002ea0| 6c 61 67 20 69 74 20 61 | 6e 64 20 63 6f 6e 74 69 |lag it a|nd conti|
|00002eb0| 6e 75 65 0d 2d 2d 20 20 | 20 20 20 20 20 20 20 20 |nue.-- | |
|00002ec0| 63 61 6c 6c 69 6e 67 20 | 72 6f 75 74 69 6e 65 20 |calling |routine |
|00002ed0| 69 73 20 72 65 73 70 6f | 6e 73 69 62 6c 65 20 66 |is respo|nsible f|
|00002ee0| 6f 72 20 45 58 49 54 69 | 6e 67 20 69 66 20 46 4c |or EXITi|ng if FL|
|00002ef0| 41 47 20 3d 20 46 41 4c | 53 45 0d 69 66 20 67 5f |AG = FAL|SE.if g_|
|00002f00| 54 6f 74 48 65 61 70 4c | 65 66 74 20 3c 20 31 30 |TotHeapL|eft < 10|
|00002f10| 30 30 20 74 68 65 6e 0d | 70 75 74 20 54 52 55 45 |00 then.|put TRUE|
|00002f20| 20 69 6e 74 6f 20 67 5f | 53 79 73 5f 41 62 6f 72 | into g_|Sys_Abor|
|00002f30| 74 5f 46 6c 61 67 20 2d | 2d 20 41 62 6f 72 74 20 |t_Flag -|- Abort |
|00002f40| 61 74 20 31 73 74 20 6f | 70 70 6f 72 74 75 6e 69 |at 1st o|pportuni|
|00002f50| 74 79 0d 70 75 74 20 46 | 41 4c 53 45 20 69 6e 74 |ty.put F|ALSE int|
|00002f60| 6f 20 67 5f 45 6e 6f 75 | 67 68 48 43 6d 65 6d 46 |o g_Enou|ghHCmemF|
|00002f70| 4c 41 47 20 2d 2d 20 4d | 41 4a 4f 52 20 45 52 52 |LAG -- M|AJOR ERR|
|00002f80| 4f 52 0d 2d 2d 20 66 61 | 6c 6c 20 77 2f 46 4c 41 |OR.-- fa|ll w/FLA|
|00002f90| 47 20 3d 20 46 41 4c 53 | 45 20 2d 20 43 68 65 63 |G = FALS|E - Chec|
|00002fa0| 6b 20 6c 61 74 65 72 0d | 65 6e 64 20 69 66 0d 2d |k later.|end if.-|
|00002fb0| 2d 20 2d 2d 20 20 20 20 | 20 20 20 20 20 20 20 20 |- -- | |
|00002fc0| 20 20 20 20 20 20 50 61 | 67 65 4d 61 6b 65 72 20 | Pa|geMaker |
|00002fd0| 6d 65 6d 6f 72 79 20 63 | 68 65 63 6b 0d 2d 2d 20 |memory c|heck.-- |
|00002fe0| 69 66 20 67 5f 54 6f 74 | 52 41 4d 4c 65 66 74 20 |if g_Tot|RAMLeft |
|00002ff0| 3c 20 31 35 30 30 20 74 | 68 65 6e 20 2d 2d 20 4d |< 1500 t|hen -- M|
|00003000| 69 6e 20 72 6f 6f 6d 20 | 66 6f 72 20 50 4d 0d 2d |in room |for PM.-|
|00003010| 2d 20 70 75 74 20 22 57 | 41 52 4e 49 4e 47 22 20 |- put "W|ARNING" |
|00003020| 20 69 6e 74 6f 20 67 5f | 53 79 73 5f 41 62 6f 72 | into g_|Sys_Abor|
|00003030| 74 5f 46 6c 61 67 20 2d | 2d 20 4f 4b 20 74 6f 20 |t_Flag -|- OK to |
|00003040| 63 6f 6e 74 69 6e 75 65 | 0d 2d 2d 20 70 75 74 20 |continue|.-- put |
|00003050| 46 41 4c 53 45 20 69 6e | 74 6f 20 67 5f 45 6e 6f |FALSE in|to g_Eno|
|00003060| 75 67 68 50 4d 6d 65 6d | 46 4c 41 47 20 2d 2d 20 |ughPMmem|FLAG -- |
|00003070| 4d 49 4e 4f 52 20 45 52 | 52 4f 52 0d 2d 2d 20 2d |MINOR ER|ROR.-- -|
|00003080| 2d 20 66 61 6c 6c 20 77 | 2f 46 4c 41 47 20 3d 20 |- fall w|/FLAG = |
|00003090| 46 41 4c 53 45 20 2d 20 | 43 68 65 63 6b 20 6c 61 |FALSE - |Check la|
|000030a0| 74 65 72 0d 2d 2d 20 65 | 6e 64 20 69 66 0d 0d 2d |ter.-- e|nd if..-|
|000030b0| 2d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |- | |
|000030c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000030d0| 46 6f 6e 74 20 43 68 65 | 63 6b 0d 69 66 20 46 6f |Font Che|ck.if Fo|
|000030e0| 6e 74 45 78 69 73 74 73 | 58 46 43 4e 28 22 41 70 |ntExists|XFCN("Ap|
|000030f0| 70 6c 65 47 61 72 61 6d | 6f 6e 64 20 42 6b 22 2c |pleGaram|ond Bk",|
|00003100| 20 22 31 32 22 29 20 3d | 20 46 41 4c 53 45 20 c2 | "12") =| FALSE .|
|00003110| 0d 6f 72 20 28 46 6f 6e | 74 45 78 69 73 74 73 58 |.or (Fon|tExistsX|
|00003120| 46 43 4e 28 22 48 65 6c | 76 65 74 69 63 61 22 2c |FCN("Hel|vetica",|
|00003130| 20 22 31 30 22 29 20 3d | 20 46 41 4c 53 45 20 c2 | "10") =| FALSE .|
|00003140| 0d 6f 72 20 46 6f 6e 74 | 45 78 69 73 74 73 58 46 |.or Font|ExistsXF|
|00003150| 43 4e 28 22 48 65 6c 76 | 65 74 69 63 61 22 2c 20 |CN("Helv|etica", |
|00003160| 22 31 32 22 29 20 3d 20 | 46 41 4c 53 45 29 20 c2 |"12") = |FALSE) .|
|00003170| 0d 6f 72 20 28 46 6f 6e | 74 45 78 69 73 74 73 58 |.or (Fon|tExistsX|
|00003180| 46 43 4e 28 22 53 79 6d | 62 6f 6c 22 2c 20 22 31 |FCN("Sym|bol", "1|
|00003190| 30 22 29 20 3d 20 46 41 | 4c 53 45 20 c2 0d 6f 72 |0") = FA|LSE ..or|
|000031a0| 20 46 6f 6e 74 45 78 69 | 73 74 73 58 46 43 4e 28 | FontExi|stsXFCN(|
|000031b0| 22 53 79 6d 62 6f 6c 22 | 2c 20 22 31 32 22 29 20 |"Symbol"|, "12") |
|000031c0| 3d 20 46 41 4c 53 45 29 | 20 74 68 65 6e 0d 70 75 |= FALSE)| then.pu|
|000031d0| 74 20 22 57 41 52 4e 49 | 4e 47 22 20 20 69 6e 74 |t "WARNI|NG" int|
|000031e0| 6f 20 67 5f 53 79 73 5f | 41 62 6f 72 74 5f 46 6c |o g_Sys_|Abort_Fl|
|000031f0| 61 67 20 2d 2d 20 4f 4b | 20 74 6f 20 63 6f 6e 74 |ag -- OK| to cont|
|00003200| 69 6e 75 65 0d 70 75 74 | 20 46 41 4c 53 45 20 69 |inue.put| FALSE i|
|00003210| 6e 74 6f 20 67 5f 46 6f | 6e 74 46 4c 41 47 20 2d |nto g_Fo|ntFLAG -|
|00003220| 2d 20 4d 49 4e 4f 52 20 | 45 52 52 4f 52 0d 65 6e |- MINOR |ERROR.en|
|00003230| 64 20 69 66 0d 0d 2d 2d | 20 20 20 20 20 20 20 20 |d if..--| |
|00003240| 52 65 74 75 72 6e 20 66 | 72 6f 6d 20 46 75 6e 63 |Return f|rom Func|
|00003250| 74 69 6f 6e 20 77 69 74 | 68 20 46 6c 61 67 20 3d |tion wit|h Flag =|
|00003260| 20 54 52 55 45 2f 46 41 | 4c 53 45 0d 69 66 20 67 | TRUE/FA|LSE.if g|
|00003270| 5f 45 6e 6f 75 67 68 48 | 43 6d 65 6d 46 4c 41 47 |_EnoughH|CmemFLAG|
|00003280| 20 3d 20 46 41 4c 53 45 | 20 c2 0d 6f 72 20 67 5f | = FALSE| ..or g_|
|00003290| 45 6e 6f 75 67 68 50 4d | 6d 65 6d 46 4c 41 47 20 |EnoughPM|memFLAG |
|000032a0| 3d 20 46 41 4c 53 45 20 | c2 0d 6f 72 20 67 5f 46 |= FALSE |..or g_F|
|000032b0| 6f 6e 74 46 4c 41 47 20 | 3d 20 46 41 4c 53 45 20 |ontFLAG |= FALSE |
|000032c0| 74 68 65 6e 0d 72 65 74 | 75 72 6e 20 28 46 41 4c |then.ret|urn (FAL|
|000032d0| 53 45 29 0d 65 6c 73 65 | 20 20 72 65 74 75 72 6e |SE).else| return|
|000032e0| 20 28 54 52 55 45 29 0d | 0d 65 6e 64 20 68 47 65 | (TRUE).|.end hGe|
|000032f0| 74 53 79 73 74 65 6d 49 | 6e 66 6f 0d 0d b0 b0 b0 |tSystemI|nfo.....|
|00003300| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003310| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003320| b0 b0 b0 b0 0d 0d 0d 6f | 6e 20 68 53 74 61 72 74 |.......o|n hStart|
|00003330| 75 70 45 72 72 6f 72 0d | 47 6c 6f 62 61 6c 20 67 |upError.|Global g|
|00003340| 5f 53 79 73 5f 41 62 6f | 72 74 5f 46 6c 61 67 0d |_Sys_Abo|rt_Flag.|
|00003350| 0d 47 6c 6f 62 61 6c 20 | 67 5f 53 79 73 56 65 72 |.Global |g_SysVer|
|00003360| 73 46 4c 41 47 2c 20 67 | 5f 46 6f 6e 74 46 4c 41 |sFLAG, g|_FontFLA|
|00003370| 47 2c 20 67 5f 43 6f 6c | 6f 72 46 4c 41 47 2c 20 |G, g_Col|orFLAG, |
|00003380| 67 5f 43 6f 6c 6f 72 4d | 4f 44 45 0d 47 6c 6f 62 |g_ColorM|ODE.Glob|
|00003390| 61 6c 20 67 5f 43 75 72 | 72 65 6e 74 48 79 70 65 |al g_Cur|rentHype|
|000033a0| 72 43 61 72 64 46 4c 41 | 47 2c 20 67 5f 43 75 72 |rCardFLA|G, g_Cur|
|000033b0| 72 65 6e 74 50 61 67 65 | 4d 61 6b 65 72 46 4c 41 |rentPage|MakerFLA|
|000033c0| 47 0d 47 6c 6f 62 61 6c | 20 67 5f 45 6e 6f 75 67 |G.Global| g_Enoug|
|000033d0| 68 48 43 6d 65 6d 46 4c | 41 47 2c 20 67 5f 45 6e |hHCmemFL|AG, g_En|
|000033e0| 6f 75 67 68 50 4d 6d 65 | 6d 46 4c 41 47 0d 47 6c |oughPMme|mFLAG.Gl|
|000033f0| 6f 62 61 6c 20 67 5f 54 | 6f 74 52 41 4d 2c 20 20 |obal g_T|otRAM, |
|00003400| 67 5f 54 6f 74 52 41 4d | 4c 65 66 74 2c 20 67 5f |g_TotRAM|Left, g_|
|00003410| 54 6f 74 48 65 61 70 4c | 65 66 74 0d 0d 70 75 74 |TotHeapL|eft..put|
|00003420| 20 45 4d 50 54 59 20 69 | 6e 74 6f 20 65 72 72 53 | EMPTY i|nto errS|
|00003430| 74 72 69 6e 67 0d 0d 69 | 66 20 67 5f 53 79 73 56 |tring..i|f g_SysV|
|00003440| 65 72 73 46 4c 41 47 20 | 3d 20 46 41 4c 53 45 20 |ersFLAG |= FALSE |
|00003450| 74 68 65 6e 0d 62 65 65 | 70 0d 70 75 74 20 22 54 |then.bee|p.put "T|
|00003460| 68 65 20 4d 65 64 69 61 | 20 54 6f 6f 6c 4b 69 74 |he Media| ToolKit|
|00003470| 20 72 65 71 75 69 72 65 | 73 20 53 79 73 74 65 6d | require|s System|
|00003480| 20 37 2e 22 20 c2 0d 26 | 20 52 45 54 55 52 4e 20 | 7." ..&| RETURN |
|00003490| 26 20 22 43 6c 69 63 6b | 69 6e 67 20 74 68 65 20 |& "Click|ing the |
|000034a0| 4f 4b 20 62 75 74 74 6f | 6e 20 77 69 6c 6c 20 51 |OK butto|n will Q|
|000034b0| 75 69 74 20 41 4d 54 4b | 2e 22 c2 0d 69 6e 74 6f |uit AMTK|."..into|
|000034c0| 20 65 72 72 53 74 72 69 | 6e 67 0d 70 75 74 20 54 | errStri|ng.put T|
|000034d0| 52 55 45 20 69 6e 74 6f | 20 67 5f 53 79 73 5f 41 |RUE into| g_Sys_A|
|000034e0| 62 6f 72 74 5f 46 6c 61 | 67 20 2d 2d 20 41 62 6f |bort_Fla|g -- Abo|
|000034f0| 72 74 20 61 74 20 31 73 | 74 20 6f 70 70 6f 72 74 |rt at 1s|t opport|
|00003500| 75 6e 69 74 79 0d 68 44 | 6f 45 72 72 6f 72 4d 65 |unity.hD|oErrorMe|
|00003510| 73 73 61 67 65 20 65 72 | 72 53 74 72 69 6e 67 0d |ssage er|rString.|
|00003520| 64 6f 52 65 61 6c 51 75 | 69 74 0d 45 58 49 54 20 |doRealQu|it.EXIT |
|00003530| 74 6f 20 48 79 70 65 72 | 43 61 72 64 0d 45 58 49 |to Hyper|Card.EXI|
|00003540| 54 20 68 53 74 61 72 74 | 75 70 45 72 72 6f 72 0d |T hStart|upError.|
|00003550| 65 6e 64 20 69 66 0d 0d | 69 66 20 67 5f 43 6f 6c |end if..|if g_Col|
|00003560| 6f 72 46 4c 41 47 20 3d | 20 46 41 4c 53 45 20 74 |orFLAG =| FALSE t|
|00003570| 68 65 6e 0d 62 65 65 70 | 0d 70 75 74 20 22 54 68 |hen.beep|.put "Th|
|00003580| 65 20 4d 65 64 69 61 20 | 54 6f 6f 6c 4b 69 74 20 |e Media |ToolKit |
|00003590| 72 65 71 75 69 72 65 73 | 20 61 74 20 6c 65 61 73 |requires| at leas|
|000035a0| 74 20 61 20 31 34 20 69 | 6e 63 68 20 63 6f 6c 6f |t a 14 i|nch colo|
|000035b0| 72 20 6d 6f 6e 69 74 6f | 72 2e 22 20 c2 0d 26 20 |r monito|r." ..& |
|000035c0| 52 45 54 55 52 4e 20 26 | 20 22 43 6c 69 63 6b 69 |RETURN &| "Clicki|
|000035d0| 6e 67 20 74 68 65 20 4f | 4b 20 62 75 74 74 6f 6e |ng the O|K button|
|000035e0| 20 77 69 6c 6c 20 51 75 | 69 74 20 41 4d 54 4b 2e | will Qu|it AMTK.|
|000035f0| 22 c2 0d 69 6e 74 6f 20 | 65 72 72 53 74 72 69 6e |"..into |errStrin|
|00003600| 67 0d 70 75 74 20 54 52 | 55 45 20 69 6e 74 6f 20 |g.put TR|UE into |
|00003610| 67 5f 53 79 73 5f 41 62 | 6f 72 74 5f 46 6c 61 67 |g_Sys_Ab|ort_Flag|
|00003620| 20 2d 2d 20 41 62 6f 72 | 74 20 61 74 20 31 73 74 | -- Abor|t at 1st|
|00003630| 20 6f 70 70 6f 72 74 75 | 6e 69 74 79 0d 68 44 6f | opportu|nity.hDo|
|00003640| 45 72 72 6f 72 4d 65 73 | 73 61 67 65 20 65 72 72 |ErrorMes|sage err|
|00003650| 53 74 72 69 6e 67 0d 64 | 6f 52 65 61 6c 51 75 69 |String.d|oRealQui|
|00003660| 74 0d 45 58 49 54 20 74 | 6f 20 48 79 70 65 72 43 |t.EXIT t|o HyperC|
|00003670| 61 72 64 0d 45 58 49 54 | 20 68 53 74 61 72 74 75 |ard.EXIT| hStartu|
|00003680| 70 45 72 72 6f 72 0d 65 | 6e 64 20 69 66 0d 0d 69 |pError.e|nd if..i|
|00003690| 66 20 67 5f 43 6f 6c 6f | 72 4d 4f 44 45 20 3d 20 |f g_Colo|rMODE = |
|000036a0| 46 41 4c 53 45 20 74 68 | 65 6e 0d 62 65 65 70 0d |FALSE th|en.beep.|
|000036b0| 70 75 74 20 22 50 6c 65 | 61 73 65 20 75 73 65 20 |put "Ple|ase use |
|000036c0| 74 68 65 20 43 6f 6e 74 | 72 6f 6c 20 50 61 6e 65 |the Cont|rol Pane|
|000036d0| 6c 20 63 61 6c 6c 65 64 | 20 d2 4d 6f 6e 69 74 6f |l called| .Monito|
|000036e0| 72 73 d3 20 74 6f 20 73 | 65 74 20 79 6f 75 72 20 |rs. to s|et your |
|000036f0| 6d 6f 6e 69 74 6f 72 20 | 74 6f 22 20 c2 0d 26 20 |monitor |to" ..& |
|00003700| 52 45 54 55 52 4e 20 26 | 20 22 d2 32 35 36 20 63 |RETURN &| ".256 c|
|00003710| 6f 6c 6f 72 73 d3 2e 22 | 20 c2 0d 26 20 52 45 54 |olors.."| ..& RET|
|00003720| 55 52 4e 20 26 20 52 45 | 54 55 52 4e 20 26 20 22 |URN & RE|TURN & "|
|00003730| 43 6c 69 63 6b 69 6e 67 | 20 74 68 65 20 4f 4b 20 |Clicking| the OK |
|00003740| 62 75 74 74 6f 6e 20 77 | 69 6c 6c 20 51 75 69 74 |button w|ill Quit|
|00003750| 20 41 4d 54 4b 2e 22 c2 | 0d 69 6e 74 6f 20 65 72 | AMTK.".|.into er|
|00003760| 72 53 74 72 69 6e 67 0d | 70 75 74 20 54 52 55 45 |rString.|put TRUE|
|00003770| 20 69 6e 74 6f 20 67 5f | 53 79 73 5f 41 62 6f 72 | into g_|Sys_Abor|
|00003780| 74 5f 46 6c 61 67 20 2d | 2d 20 41 62 6f 72 74 20 |t_Flag -|- Abort |
|00003790| 61 74 20 31 73 74 20 6f | 70 70 6f 72 74 75 6e 69 |at 1st o|pportuni|
|000037a0| 74 79 0d 68 44 6f 45 72 | 72 6f 72 4d 65 73 73 61 |ty.hDoEr|rorMessa|
|000037b0| 67 65 20 65 72 72 53 74 | 72 69 6e 67 0d 64 6f 52 |ge errSt|ring.doR|
|000037c0| 65 61 6c 51 75 69 74 0d | 45 58 49 54 20 74 6f 20 |ealQuit.|EXIT to |
|000037d0| 48 79 70 65 72 43 61 72 | 64 0d 45 58 49 54 20 68 |HyperCar|d.EXIT h|
|000037e0| 53 74 61 72 74 75 70 45 | 72 72 6f 72 0d 65 6e 64 |StartupE|rror.end|
|000037f0| 20 69 66 0d 0d 2d 2d 20 | 69 66 20 67 5f 43 75 72 | if..-- |if g_Cur|
|00003800| 72 65 6e 74 48 79 70 65 | 72 43 61 72 64 46 4c 41 |rentHype|rCardFLA|
|00003810| 47 20 3d 20 46 41 4c 53 | 45 20 74 68 65 6e 0d 2d |G = FALS|E then.-|
|00003820| 2d 20 62 65 65 70 0d 2d | 2d 20 70 75 74 20 22 54 |- beep.-|- put "T|
|00003830| 68 65 20 4d 65 64 69 61 | 20 54 6f 6f 6c 4b 69 74 |he Media| ToolKit|
|00003840| 20 72 65 71 75 69 72 65 | 73 20 48 79 70 65 72 43 | require|s HyperC|
|00003850| 61 72 64 20 32 2e 31 22 | 20 c2 0d 2d 2d 20 26 20 |ard 2.1"| ..-- & |
|00003860| 52 45 54 55 52 4e 20 26 | 20 22 43 6c 69 63 6b 69 |RETURN &| "Clicki|
|00003870| 6e 67 20 74 68 65 20 4f | 4b 20 62 75 74 74 6f 6e |ng the O|K button|
|00003880| 20 77 69 6c 6c 20 51 75 | 69 74 20 41 4d 54 4b 2e | will Qu|it AMTK.|
|00003890| 22 c2 0d 2d 2d 20 69 6e | 74 6f 20 65 72 72 53 74 |"..-- in|to errSt|
|000038a0| 72 69 6e 67 0d 2d 2d 20 | 70 75 74 20 54 52 55 45 |ring.-- |put TRUE|
|000038b0| 20 69 6e 74 6f 20 67 5f | 53 79 73 5f 41 62 6f 72 | into g_|Sys_Abor|
|000038c0| 74 5f 46 6c 61 67 20 2d | 2d 20 41 62 6f 72 74 20 |t_Flag -|- Abort |
|000038d0| 61 74 20 31 73 74 20 6f | 70 70 6f 72 74 75 6e 69 |at 1st o|pportuni|
|000038e0| 74 79 0d 2d 2d 20 68 44 | 6f 45 72 72 6f 72 4d 65 |ty.-- hD|oErrorMe|
|000038f0| 73 73 61 67 65 20 65 72 | 72 53 74 72 69 6e 67 0d |ssage er|rString.|
|00003900| 2d 2d 20 64 6f 52 65 61 | 6c 51 75 69 74 0d 2d 2d |-- doRea|lQuit.--|
|00003910| 20 45 58 49 54 20 74 6f | 20 48 79 70 65 72 43 61 | EXIT to| HyperCa|
|00003920| 72 64 0d 2d 2d 20 45 58 | 49 54 20 68 53 74 61 72 |rd.-- EX|IT hStar|
|00003930| 74 75 70 45 72 72 6f 72 | 0d 2d 2d 20 65 6e 64 20 |tupError|.-- end |
|00003940| 69 66 0d 0d 69 66 20 67 | 5f 45 6e 6f 75 67 68 48 |if..if g|_EnoughH|
|00003950| 43 6d 65 6d 46 4c 41 47 | 20 3d 20 46 41 4c 53 45 |CmemFLAG| = FALSE|
|00003960| 20 74 68 65 6e 0d 62 65 | 65 70 0d 70 75 74 20 22 | then.be|ep.put "|
|00003970| 4d 6f 72 65 20 6d 65 6d | 6f 72 79 20 69 73 20 72 |More mem|ory is r|
|00003980| 65 71 75 69 72 65 64 20 | 74 6f 20 72 75 6e 20 74 |equired |to run t|
|00003990| 68 65 20 63 6f 6c 6f 72 | 20 41 4d 54 4b 20 69 6e |he color| AMTK in|
|000039a0| 74 65 72 66 61 63 65 2e | 22 20 c2 0d 26 20 52 45 |terface.|" ..& RE|
|000039b0| 54 55 52 4e 20 26 20 22 | 43 6c 69 63 6b 69 6e 67 |TURN & "|Clicking|
|000039c0| 20 74 68 65 20 4f 4b 20 | 62 75 74 74 6f 6e 20 77 | the OK |button w|
|000039d0| 69 6c 6c 20 51 75 69 74 | 20 41 4d 54 4b 2e 22 c2 |ill Quit| AMTK.".|
|000039e0| 0d 69 6e 74 6f 20 65 72 | 72 53 74 72 69 6e 67 0d |.into er|rString.|
|000039f0| 70 75 74 20 54 52 55 45 | 20 69 6e 74 6f 20 67 5f |put TRUE| into g_|
|00003a00| 53 79 73 5f 41 62 6f 72 | 74 5f 46 6c 61 67 20 2d |Sys_Abor|t_Flag -|
|00003a10| 2d 20 41 62 6f 72 74 20 | 61 74 20 31 73 74 20 6f |- Abort |at 1st o|
|00003a20| 70 70 6f 72 74 75 6e 69 | 74 79 0d 68 44 6f 45 72 |pportuni|ty.hDoEr|
|00003a30| 72 6f 72 4d 65 73 73 61 | 67 65 20 65 72 72 53 74 |rorMessa|ge errSt|
|00003a40| 72 69 6e 67 0d 64 6f 52 | 65 61 6c 51 75 69 74 0d |ring.doR|ealQuit.|
|00003a50| 45 58 49 54 20 74 6f 20 | 48 79 70 65 72 43 61 72 |EXIT to |HyperCar|
|00003a60| 64 0d 45 58 49 54 20 68 | 53 74 61 72 74 75 70 45 |d.EXIT h|StartupE|
|00003a70| 72 72 6f 72 0d 65 6e 64 | 20 69 66 0d 0d 2d 2d 20 |rror.end| if..-- |
|00003a80| 69 66 20 67 5f 45 6e 6f | 75 67 68 50 4d 6d 65 6d |if g_Eno|ughPMmem|
|00003a90| 46 4c 41 47 20 3d 20 46 | 41 4c 53 45 20 74 68 65 |FLAG = F|ALSE the|
|00003aa0| 6e 0d 2d 2d 20 70 75 74 | 20 22 54 68 65 72 65 20 |n.-- put| "There |
|00003ab0| 69 73 20 6e 6f 74 20 65 | 6e 6f 75 67 68 20 6d 65 |is not e|nough me|
|00003ac0| 6d 6f 72 79 20 74 6f 20 | 72 75 6e 20 62 6f 74 68 |mory to |run both|
|00003ad0| 20 48 79 70 65 72 43 61 | 72 64 20 61 6e 64 20 50 | HyperCa|rd and P|
|00003ae0| 61 67 65 4d 61 6b 65 72 | 20 61 74 20 74 68 65 20 |ageMaker| at the |
|00003af0| 73 61 6d 65 20 74 69 6d | 65 2e 20 22 20 c2 0d 2d |same tim|e. " ..-|
|00003b00| 2d 20 26 20 22 59 6f 75 | 20 63 61 6e 20 75 73 65 |- & "You| can use|
|00003b10| 20 74 68 65 20 69 6e 74 | 65 72 66 61 63 65 2c 20 | the int|erface, |
|00003b20| 62 75 74 20 79 6f 75 20 | 63 61 6e 6e 6f 74 20 6f |but you |cannot o|
|00003b30| 70 65 6e 20 74 68 65 20 | 50 61 67 65 4d 61 6b 65 |pen the |PageMake|
|00003b40| 72 20 6d 61 74 65 72 69 | 61 6c 73 20 66 72 6f 6d |r materi|als from|
|00003b50| 20 77 69 74 68 69 6e 20 | 41 4d 54 4b 2e 22 c2 0d | within |AMTK."..|
|00003b60| 2d 2d 20 69 6e 74 6f 20 | 65 72 72 53 74 72 69 6e |-- into |errStrin|
|00003b70| 67 0d 2d 2d 20 68 44 6f | 45 72 72 6f 72 4d 65 73 |g.-- hDo|ErrorMes|
|00003b80| 73 61 67 65 20 65 72 72 | 53 74 72 69 6e 67 0d 2d |sage err|String.-|
|00003b90| 2d 20 45 58 49 54 20 68 | 53 74 61 72 74 75 70 45 |- EXIT h|StartupE|
|00003ba0| 72 72 6f 72 0d 2d 2d 20 | 65 6e 64 20 69 66 0d 0d |rror.-- |end if..|
|00003bb0| 69 66 20 67 5f 46 6f 6e | 74 46 4c 41 47 20 3d 20 |if g_Fon|tFLAG = |
|00003bc0| 46 41 4c 53 45 20 74 68 | 65 6e 0d 70 75 74 20 22 |FALSE th|en.put "|
|00003bd0| 41 4d 54 4b 20 75 73 65 | 73 20 74 68 65 20 41 70 |AMTK use|s the Ap|
|00003be0| 70 6c 65 20 47 61 72 61 | 6d 6f 6e 64 2c 20 48 65 |ple Gara|mond, He|
|00003bf0| 6c 76 65 74 69 63 61 20 | 61 6e 64 20 53 79 6d 62 |lvetica |and Symb|
|00003c00| 6f 6c 20 66 6f 6e 74 73 | 2e 20 22 20 c2 0d 26 20 |ol fonts|. " ..& |
|00003c10| 22 59 6f 75 20 6d 75 73 | 74 20 69 6e 73 74 61 6c |"You mus|t instal|
|00003c20| 6c 20 74 68 65 73 65 20 | 66 6f 6e 74 73 20 62 65 |l these |fonts be|
|00003c30| 66 6f 72 65 20 70 72 69 | 6e 74 69 6e 67 20 74 68 |fore pri|nting th|
|00003c40| 65 20 50 61 67 65 4d 61 | 6b 65 72 20 6d 61 74 65 |e PageMa|ker mate|
|00003c50| 72 69 61 6c 73 2e 22 c2 | 0d 69 6e 74 6f 20 65 72 |rials.".|.into er|
|00003c60| 72 53 74 72 69 6e 67 0d | 68 44 6f 45 72 72 6f 72 |rString.|hDoError|
|00003c70| 4d 65 73 73 61 67 65 20 | 65 72 72 53 74 72 69 6e |Message |errStrin|
|00003c80| 67 0d 45 58 49 54 20 68 | 53 74 61 72 74 75 70 45 |g.EXIT h|StartupE|
|00003c90| 72 72 6f 72 0d 65 6e 64 | 20 69 66 0d 0d 65 6e 64 |rror.end| if..end|
|00003ca0| 20 68 53 74 61 72 74 75 | 70 45 72 72 6f 72 0d 0d | hStartu|pError..|
|00003cb0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003cc0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003cd0| b0 b0 b0 b0 b0 b0 b0 0d | 0d 0d 6f 6e 20 68 44 6f |........|..on hDo|
|00003ce0| 45 72 72 6f 72 4d 65 73 | 73 61 67 65 20 65 72 72 |ErrorMes|sage err|
|00003cf0| 53 74 72 69 6e 67 0d 47 | 6c 6f 62 61 6c 20 67 5f |String.G|lobal g_|
|00003d00| 53 79 73 5f 41 62 6f 72 | 74 5f 46 6c 61 67 0d 70 |Sys_Abor|t_Flag.p|
|00003d10| 75 74 20 22 46 6f 72 20 | 6d 6f 72 65 20 69 6e 66 |ut "For |more inf|
|00003d20| 6f 72 6d 61 74 69 6f 6e | 2c 20 22 20 c2 0d 26 20 |ormation|, " ..& |
|00003d30| 22 73 65 65 20 74 68 65 | 20 52 65 61 64 20 4d 65 |"see the| Read Me|
|00003d40| 20 66 69 6c 65 20 69 6e | 20 74 68 65 20 47 65 74 | file in| the Get|
|00003d50| 74 69 6e 67 20 53 74 61 | 72 74 65 64 20 66 6f 6c |ting Sta|rted fol|
|00003d60| 64 65 72 2e 22 20 69 6e | 74 6f 20 74 6d 70 0d 61 |der." in|to tmp.a|
|00003d70| 6e 73 77 65 72 20 65 72 | 72 53 74 72 69 6e 67 20 |nswer er|rString |
|00003d80| 26 20 52 45 54 55 52 4e | 20 26 20 52 45 54 55 52 |& RETURN| & RETUR|
|00003d90| 4e 20 26 20 74 6d 70 20 | 26 20 52 45 54 55 52 4e |N & tmp |& RETURN|
|00003da0| 20 26 20 52 45 54 55 52 | 4e 0d 0d 2d 2d 77 69 74 | & RETUR|N..--wit|
|00003db0| 68 20 22 6d 6f 72 65 c9 | 22 20 6f 72 20 22 4f 4b |h "more.|" or "OK|
|00003dc0| 22 0d 2d 2d 69 66 20 69 | 74 20 3d 20 22 4f 4b 22 |".--if i|t = "OK"|
|00003dd0| 20 74 68 65 6e 0d 69 66 | 20 67 5f 53 79 73 5f 41 | then.if| g_Sys_A|
|00003de0| 62 6f 72 74 5f 46 6c 61 | 67 20 3d 20 54 52 55 45 |bort_Fla|g = TRUE|
|00003df0| 20 74 68 65 6e 20 64 6f | 52 65 61 6c 51 75 69 74 | then do|RealQuit|
|00003e00| 20 2d 2d 20 45 58 49 54 | 0d 69 66 20 67 5f 53 79 | -- EXIT|.if g_Sy|
|00003e10| 73 5f 41 62 6f 72 74 5f | 46 6c 61 67 20 3d 20 22 |s_Abort_|Flag = "|
|00003e20| 57 61 72 6e 69 6e 67 22 | 20 74 68 65 6e 20 70 75 |Warning"| then pu|
|00003e30| 74 20 45 4d 50 54 59 20 | 69 6e 74 6f 20 67 5f 53 |t EMPTY |into g_S|
|00003e40| 79 73 5f 41 62 6f 72 74 | 5f 46 6c 61 67 0d 45 58 |ys_Abort|_Flag.EX|
|00003e50| 49 54 20 68 44 6f 45 72 | 72 6f 72 4d 65 73 73 61 |IT hDoEr|rorMessa|
|00003e60| 67 65 0d 2d 2d 20 65 6e | 64 20 69 66 0d 65 6e 64 |ge.-- en|d if.end|
|00003e70| 20 68 44 6f 45 72 72 6f | 72 4d 65 73 73 61 67 65 | hDoErro|rMessage|
|00003e80| 0d 0d b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003e90| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003ea0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 0d 0d 6f 6e 20 68 47 |........|...on hG|
|00003eb0| 65 74 43 6f 6c 6f 72 4d | 6f 64 65 0d 47 6c 6f 62 |etColorM|ode.Glob|
|00003ec0| 61 6c 20 67 5f 43 75 72 | 53 63 72 65 65 6e 43 6f |al g_Cur|ScreenCo|
|00003ed0| 6c 6f 72 0d 2d 2d 20 20 | 20 20 20 20 20 20 20 20 |lor.-- | |
|00003ee0| 20 20 20 20 20 20 20 20 | 20 47 65 74 2f 53 61 76 | | Get/Sav|
|00003ef0| 65 20 4d 6f 6e 69 74 6f | 72 20 64 65 70 74 68 0d |e Monito|r depth.|
|00003f00| 73 65 74 20 74 68 65 20 | 69 74 65 6d 44 65 6c 69 |set the |itemDeli|
|00003f10| 6d 69 74 65 72 20 74 6f | 20 22 2c 22 0d 67 65 74 |miter to| ",".get|
|00003f20| 20 67 65 74 6d 6f 64 65 | 20 28 29 0d 70 75 74 20 | getmode| ().put |
|00003f30| 6c 69 6e 65 20 31 20 6f | 66 20 69 74 20 69 6e 74 |line 1 o|f it int|
|00003f40| 6f 20 74 6d 70 0d 2d 2d | 20 52 65 74 75 72 6e 73 |o tmp.--| Returns|
|00003f50| 20 31 20 6c 69 6e 65 20 | 66 6f 72 20 65 61 63 68 | 1 line |for each|
|00003f60| 20 6d 6f 6e 69 74 6f 72 | 3a 0d 2d 2d 20 20 3c 42 | monitor|:.-- <B|
|00003f70| 7c 43 3e 2c 3c 31 7c 32 | 7c 34 7c 38 7c 33 32 3e ||C>,<1|2||4|8|32>|
|00003f80| 2c 3c 73 63 72 65 65 6e | 20 6e 62 3e 2c 3c 42 7c |,<screen| nb>,<B||
|00003f90| 43 3e 2c 3c 31 7c 32 7c | 34 7c 38 7c 33 32 3e 2c |C>,<1|2||4|8|32>,|
|00003fa0| 3c 77 69 64 74 68 3e 2c | 3c 68 65 69 67 68 74 3e |<width>,|<height>|
|00003fb0| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 74 |.put ite|m 1 of t|
|00003fc0| 6d 70 20 69 6e 74 6f 20 | 67 5f 43 75 72 53 63 72 |mp into |g_CurScr|
|00003fd0| 65 65 6e 43 6f 6c 6f 72 | 20 2d 2d 20 43 6f 6c 6f |eenColor| -- Colo|
|00003fe0| 72 0d 67 65 74 20 69 74 | 65 6d 20 32 20 6f 66 20 |r.get it|em 2 of |
|00003ff0| 74 6d 70 20 2d 2d 20 46 | 75 64 67 65 20 69 6e 20 |tmp -- F|udge in |
|00004000| 33 32 20 62 69 74 20 76 | 61 6c 75 65 20 28 6d 69 |32 bit v|alue (mi|
|00004010| 73 73 69 6e 67 20 69 6e | 20 47 65 74 4d 6f 64 65 |ssing in| GetMode|
|00004020| 29 0d 69 66 20 69 74 20 | 3d 20 22 22 20 74 68 65 |).if it |= "" the|
|00004030| 6e 20 70 75 74 20 33 32 | 20 69 6e 74 6f 20 69 74 |n put 32| into it|
|00004040| 0d 70 75 74 20 22 2c 22 | 20 26 20 69 74 20 61 66 |.put ","| & it af|
|00004050| 74 65 72 20 67 5f 43 75 | 72 53 63 72 65 65 6e 43 |ter g_Cu|rScreenC|
|00004060| 6f 6c 6f 72 20 2d 2d 20 | 23 20 62 69 74 73 0d 70 |olor -- |# bits.p|
|00004070| 75 74 20 22 2c 22 20 26 | 20 69 74 65 6d 20 35 20 |ut "," &| item 5 |
|00004080| 6f 66 20 74 6d 70 20 61 | 66 74 65 72 20 67 5f 43 |of tmp a|fter g_C|
|00004090| 75 72 53 63 72 65 65 6e | 43 6f 6c 6f 72 20 2d 2d |urScreen|Color --|
|000040a0| 20 4d 61 78 20 23 20 62 | 69 74 73 0d 2d 2d 20 52 | Max # b|its.-- R|
|000040b0| 65 74 75 72 6e 73 20 33 | 20 69 74 65 6d 73 20 69 |eturns 3| items i|
|000040c0| 6e 20 67 5f 43 75 72 53 | 63 72 65 65 6e 43 6f 6c |n g_CurS|creenCol|
|000040d0| 6f 72 3a 0d 2d 2d 20 20 | 20 20 20 20 20 20 20 20 |or:.-- | |
|000040e0| 20 20 20 20 43 6f 6c 6f | 72 2f 23 20 62 69 74 73 | Colo|r/# bits|
|000040f0| 2f 4d 61 78 20 23 20 62 | 69 74 73 0d 2d 2d 20 70 |/Max # b|its.-- p|
|00004100| 75 74 20 67 5f 43 75 72 | 53 63 72 65 65 6e 43 6f |ut g_Cur|ScreenCo|
|00004110| 6c 6f 72 0d 65 6e 64 20 | 68 47 65 74 43 6f 6c 6f |lor.end |hGetColo|
|00004120| 72 4d 6f 64 65 0d 0d 6f | 6e 20 68 53 65 74 43 6f |rMode..o|n hSetCo|
|00004130| 6c 6f 72 4d 6f 64 65 20 | 2d 2d 20 53 65 74 20 43 |lorMode |-- Set C|
|00004140| 6f 6c 6f 72 20 74 6f 20 | 38 62 69 74 0d 47 6c 6f |olor to |8bit.Glo|
|00004150| 62 61 6c 20 67 5f 43 75 | 72 53 63 72 65 65 6e 43 |bal g_Cu|rScreenC|
|00004160| 6f 6c 6f 72 0d 73 65 74 | 20 74 68 65 20 69 74 65 |olor.set| the ite|
|00004170| 6d 44 65 6c 69 6d 69 74 | 65 72 20 74 6f 20 22 2c |mDelimit|er to ",|
|00004180| 22 0d 45 58 49 54 20 68 | 53 65 74 43 6f 6c 6f 72 |".EXIT h|SetColor|
|00004190| 4d 6f 64 65 0d 69 66 20 | 69 74 65 6d 20 32 20 6f |Mode.if |item 2 o|
|000041a0| 66 20 67 5f 43 75 72 53 | 63 72 65 65 6e 43 6f 6c |f g_CurS|creenCol|
|000041b0| 6f 72 20 ad 20 38 20 74 | 68 65 6e 0d 73 65 74 6d |or . 8 t|hen.setm|
|000041c0| 6f 64 65 20 22 43 22 2c | 38 20 2d 2d 20 53 77 69 |ode "C",|8 -- Swi|
|000041d0| 74 63 68 20 74 6f 20 38 | 20 62 69 74 20 69 66 20 |tch to 8| bit if |
|000041e0| 6e 6f 74 20 61 6c 72 65 | 61 64 79 0d 65 6e 64 20 |not alre|ady.end |
|000041f0| 69 66 0d 65 6e 64 20 68 | 53 65 74 43 6f 6c 6f 72 |if.end h|SetColor|
|00004200| 4d 6f 64 65 0d 0d 6f 6e | 20 68 46 6f 72 63 65 43 |Mode..on| hForceC|
|00004210| 6f 6c 6f 72 4d 6f 64 65 | 20 2d 2d 20 46 6f 72 63 |olorMode| -- Forc|
|00004220| 65 20 43 6f 6c 6f 72 20 | 74 6f 20 38 62 69 74 0d |e Color |to 8bit.|
|00004230| 73 65 74 20 74 68 65 20 | 69 74 65 6d 44 65 6c 69 |set the |itemDeli|
|00004240| 6d 69 74 65 72 20 74 6f | 20 22 2c 22 0d 2d 2d 20 |miter to| ",".-- |
|00004250| 4e 4f 54 45 3a 20 6d 75 | 73 74 20 62 65 20 73 65 |NOTE: mu|st be se|
|00004260| 74 20 6f 72 20 47 65 74 | 2f 53 65 74 20 6d 6f 64 |t or Get|/Set mod|
|00004270| 65 20 74 72 65 61 74 73 | 20 61 6c 6c 20 37 20 69 |e treats| all 7 i|
|00004280| 74 65 6d 73 20 61 73 20 | 31 20 69 74 65 6d 0d 45 |tems as |1 item.E|
|00004290| 58 49 54 20 68 46 6f 72 | 63 65 43 6f 6c 6f 72 4d |XIT hFor|ceColorM|
|000042a0| 6f 64 65 0d 67 65 74 20 | 67 65 74 6d 6f 64 65 20 |ode.get |getmode |
|000042b0| 28 29 0d 70 75 74 20 6c | 69 6e 65 20 31 20 6f 66 |().put l|ine 1 of|
|000042c0| 20 69 74 20 69 6e 74 6f | 20 74 6d 70 0d 69 66 20 | it into| tmp.if |
|000042d0| 69 74 65 6d 20 32 20 6f | 66 20 74 6d 70 20 ad 20 |item 2 o|f tmp . |
|000042e0| 38 20 74 68 65 6e 0d 73 | 65 74 6d 6f 64 65 20 22 |8 then.s|etmode "|
|000042f0| 43 22 2c 38 20 2d 2d 20 | 53 77 69 74 63 68 20 74 |C",8 -- |Switch t|
|00004300| 6f 20 38 20 62 69 74 20 | 69 66 20 6e 6f 74 20 61 |o 8 bit |if not a|
|00004310| 6c 72 65 61 64 79 0d 65 | 6e 64 20 69 66 0d 65 6e |lready.e|nd if.en|
|00004320| 64 20 68 46 6f 72 63 65 | 43 6f 6c 6f 72 4d 6f 64 |d hForce|ColorMod|
|00004330| 65 0d 0d 6f 6e 20 68 52 | 65 73 65 74 43 6f 6c 6f |e..on hR|esetColo|
|00004340| 72 4d 6f 64 65 20 2d 2d | 20 52 65 73 65 74 20 43 |rMode --| Reset C|
|00004350| 6f 6c 6f 72 20 74 6f 20 | 6f 72 69 67 69 6e 61 6c |olor to |original|
|00004360| 0d 47 6c 6f 62 61 6c 20 | 67 5f 43 75 72 53 63 72 |.Global |g_CurScr|
|00004370| 65 65 6e 43 6f 6c 6f 72 | 0d 73 65 74 20 74 68 65 |eenColor|.set the|
|00004380| 20 69 74 65 6d 44 65 6c | 69 6d 69 74 65 72 20 74 | itemDel|imiter t|
|00004390| 6f 20 22 2c 22 0d 45 58 | 49 54 20 68 52 65 73 65 |o ",".EX|IT hRese|
|000043a0| 74 43 6f 6c 6f 72 4d 6f | 64 65 0d 67 65 74 20 69 |tColorMo|de.get i|
|000043b0| 74 65 6d 20 32 20 6f 66 | 20 67 5f 43 75 72 53 63 |tem 2 of| g_CurSc|
|000043c0| 72 65 65 6e 43 6f 6c 6f | 72 0d 69 66 20 69 74 20 |reenColo|r.if it |
|000043d0| ad 20 38 20 74 68 65 6e | 20 20 2d 2d 20 53 77 69 |. 8 then| -- Swi|
|000043e0| 74 63 68 20 62 61 63 6b | 20 66 72 6f 6d 20 38 20 |tch back| from 8 |
|000043f0| 62 69 74 20 69 66 20 6e | 6f 74 20 61 6c 72 65 61 |bit if n|ot alrea|
|00004400| 64 79 0d 73 65 74 6d 6f | 64 65 20 69 74 65 6d 20 |dy.setmo|de item |
|00004410| 31 20 6f 66 20 67 5f 43 | 75 72 53 63 72 65 65 6e |1 of g_C|urScreen|
|00004420| 43 6f 6c 6f 72 2c 20 69 | 74 65 6d 20 32 20 6f 66 |Color, i|tem 2 of|
|00004430| 20 67 5f 43 75 72 53 63 | 72 65 65 6e 43 6f 6c 6f | g_CurSc|reenColo|
|00004440| 72 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 68 52 65 |r.end if|.end hRe|
|00004450| 73 65 74 43 6f 6c 6f 72 | 4d 6f 64 65 0d 0d b0 b0 |setColor|Mode....|
|00004460| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004470| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004480| b0 b0 b0 b0 b0 0d 0d 6f | 6e 20 68 46 69 6c 6c 4c |.......o|n hFillL|
|00004490| 69 73 74 73 20 74 49 74 | 65 6d 20 2d 2d 20 46 69 |ists tIt|em -- Fi|
|000044a0| 6c 6c 20 53 65 6c 65 63 | 74 69 6f 6e 20 26 20 49 |ll Selec|tion & I|
|000044b0| 6e 66 6f 20 4c 69 73 74 | 73 20 77 2f 43 6f 6c 6f |nfo List|s w/Colo|
|000044c0| 72 0d 47 6c 6f 62 61 6c | 20 67 5f 5f 43 6f 6c 6f |r.Global| g__Colo|
|000044d0| 72 4c 69 73 74 0d 70 75 | 74 20 22 32 35 35 2c 20 |rList.pu|t "255, |
|000044e0| 32 31 37 2c 20 32 31 37 | 22 20 26 20 52 45 54 55 |217, 217|" & RETU|
|000044f0| 52 4e 20 c2 0d 26 20 22 | 32 35 35 2c 20 32 35 35 |RN ..& "|255, 255|
|00004500| 2c 20 31 38 30 22 20 26 | 20 52 45 54 55 52 4e 20 |, 180" &| RETURN |
|00004510| c2 0d 26 20 22 32 31 37 | 2c 20 32 35 35 2c 20 32 |..& "217|, 255, 2|
|00004520| 31 37 22 20 26 20 52 45 | 54 55 52 4e 20 c2 0d 26 |17" & RE|TURN ..&|
|00004530| 20 22 32 31 37 2c 20 32 | 35 35 2c 20 32 35 35 22 | "217, 2|55, 255"|
|00004540| 20 26 20 52 45 54 55 52 | 4e 20 c2 0d 26 20 22 32 | & RETUR|N ..& "2|
|00004550| 31 37 2c 20 32 31 37 2c | 20 32 35 35 22 20 26 20 |17, 217,| 255" & |
|00004560| 52 45 54 55 52 4e 20 c2 | 0d 26 20 22 32 35 35 2c |RETURN .|.& "255,|
|00004570| 20 32 31 37 2c 20 32 35 | 35 22 20 26 20 52 45 54 | 217, 25|5" & RET|
|00004580| 55 52 4e 20 c2 0d 69 6e | 74 6f 20 67 5f 5f 43 6f |URN ..in|to g__Co|
|00004590| 6c 6f 72 4c 69 73 74 0d | 0d 70 75 74 20 34 20 69 |lorList.|.put 4 i|
|000045a0| 6e 74 6f 20 74 49 74 65 | 6d 0d 0d 70 75 74 20 20 |nto tIte|m..put |
|000045b0| 6c 69 6e 65 20 74 49 74 | 65 6d 20 6f 66 20 67 5f |line tIt|em of g_|
|000045c0| 5f 43 6f 6c 6f 72 4c 69 | 73 74 20 69 6e 74 6f 20 |_ColorLi|st into |
|000045d0| 63 75 72 43 6f 6c 6f 72 | 0d 70 75 74 20 69 74 65 |curColor|.put ite|
|000045e0| 6d 20 31 20 6f 66 20 63 | 75 72 43 6f 6c 6f 72 20 |m 1 of c|urColor |
|000045f0| 2a 20 32 35 36 20 69 6e | 74 6f 20 69 74 65 6d 20 |* 256 in|to item |
|00004600| 31 20 6f 66 20 63 75 72 | 43 6f 6c 6f 72 0d 70 75 |1 of cur|Color.pu|
|00004610| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 63 75 72 43 |t item 2| of curC|
|00004620| 6f 6c 6f 72 20 2a 20 32 | 35 36 20 69 6e 74 6f 20 |olor * 2|56 into |
|00004630| 69 74 65 6d 20 32 20 6f | 66 20 63 75 72 43 6f 6c |item 2 o|f curCol|
|00004640| 6f 72 0d 70 75 74 20 69 | 74 65 6d 20 33 20 6f 66 |or.put i|tem 3 of|
|00004650| 20 63 75 72 43 6f 6c 6f | 72 20 2a 20 32 35 36 20 | curColo|r * 256 |
|00004660| 69 6e 74 6f 20 69 74 65 | 6d 20 33 20 6f 66 20 63 |into ite|m 3 of c|
|00004670| 75 72 43 6f 6c 6f 72 0d | 0d 67 65 74 20 72 65 63 |urColor.|.get rec|
|00004680| 74 20 6f 66 20 42 47 20 | 66 6c 64 20 22 53 65 6c |t of BG |fld "Sel|
|00004690| 65 63 74 20 4c 69 73 74 | 22 0d 73 75 62 74 72 61 |ect List|".subtra|
|000046a0| 63 74 20 31 36 20 66 72 | 6f 6d 20 69 74 65 6d 20 |ct 16 fr|om item |
|000046b0| 33 20 6f 66 20 69 74 0d | 63 6f 6c 6f 72 69 7a 65 |3 of it.|colorize|
|000046c0| 48 43 20 22 43 6f 6c 6f | 72 46 69 6c 6c 22 2c 20 |HC "Colo|rFill", |
|000046d0| 69 74 2c 20 63 75 72 43 | 6f 6c 6f 72 0d 63 6f 6c |it, curC|olor.col|
|000046e0| 6f 72 69 7a 65 48 43 20 | 22 43 6f 6c 6f 72 46 69 |orizeHC |"ColorFi|
|000046f0| 6c 6c 22 2c 20 72 65 63 | 74 20 6f 66 20 42 47 20 |ll", rec|t of BG |
|00004700| 66 6c 64 20 22 49 6e 66 | 6f 20 4c 69 73 74 22 2c |fld "Inf|o List",|
|00004710| 20 63 75 72 43 6f 6c 6f | 72 0d 0d 70 75 74 20 20 | curColo|r..put |
|00004720| 6c 69 6e 65 20 74 49 74 | 65 6d 20 6f 66 20 67 5f |line tIt|em of g_|
|00004730| 5f 43 6f 6c 6f 72 4c 69 | 73 74 20 69 6e 74 6f 20 |_ColorLi|st into |
|00004740| 63 75 72 43 6f 6c 6f 72 | 0d 70 75 74 20 34 32 20 |curColor|.put 42 |
|00004750| 69 6e 74 6f 20 74 6d 70 | 0d 70 75 74 20 28 69 74 |into tmp|.put (it|
|00004760| 65 6d 20 31 20 6f 66 20 | 63 75 72 43 6f 6c 6f 72 |em 1 of |curColor|
|00004770| 20 2d 20 74 6d 70 29 20 | 2a 20 32 35 36 20 69 6e | - tmp) |* 256 in|
|00004780| 74 6f 20 69 74 65 6d 20 | 31 20 6f 66 20 63 75 72 |to item |1 of cur|
|00004790| 43 6f 6c 6f 72 0d 70 75 | 74 20 28 69 74 65 6d 20 |Color.pu|t (item |
|000047a0| 32 20 6f 66 20 63 75 72 | 43 6f 6c 6f 72 20 2d 20 |2 of cur|Color - |
|000047b0| 74 6d 70 29 20 2a 20 32 | 35 36 20 69 6e 74 6f 20 |tmp) * 2|56 into |
|000047c0| 69 74 65 6d 20 32 20 6f | 66 20 63 75 72 43 6f 6c |item 2 o|f curCol|
|000047d0| 6f 72 0d 70 75 74 20 28 | 69 74 65 6d 20 33 20 6f |or.put (|item 3 o|
|000047e0| 66 20 63 75 72 43 6f 6c | 6f 72 20 2d 20 74 6d 70 |f curCol|or - tmp|
|000047f0| 29 20 2a 20 32 35 36 20 | 69 6e 74 6f 20 69 74 65 |) * 256 |into ite|
|00004800| 6d 20 33 20 6f 66 20 63 | 75 72 43 6f 6c 6f 72 0d |m 3 of c|urColor.|
|00004810| 0d 70 75 74 20 72 65 63 | 74 20 6f 66 20 42 47 20 |.put rec|t of BG |
|00004820| 66 6c 64 20 22 53 65 6c | 65 63 74 20 4c 69 73 74 |fld "Sel|ect List|
|00004830| 22 20 69 6e 74 6f 20 74 | 6d 70 0d 67 65 74 20 69 |" into t|mp.get i|
|00004840| 74 65 6d 20 33 20 6f 66 | 20 74 6d 70 0d 73 75 62 |tem 3 of| tmp.sub|
|00004850| 74 72 61 63 74 20 31 36 | 20 66 72 6f 6d 20 69 74 |tract 16| from it|
|00004860| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 69 74 65 |.put it |into ite|
|00004870| 6d 20 31 20 6f 66 20 74 | 6d 70 0d 63 6f 6c 6f 72 |m 1 of t|mp.color|
|00004880| 69 7a 65 48 43 20 22 43 | 6f 6c 6f 72 46 69 6c 6c |izeHC "C|olorFill|
|00004890| 22 2c 20 74 6d 70 2c 20 | 63 75 72 43 6f 6c 6f 72 |", tmp, |curColor|
|000048a0| 0d 0d 65 6e 64 20 68 46 | 69 6c 6c 4c 69 73 74 73 |..end hF|illLists|
|000048b0| 0d 0d 6f 6e 20 68 46 69 | 6c 6c 4c 69 73 74 73 50 |..on hFi|llListsP|
|000048c0| 4d 20 20 2d 2d 20 46 69 | 6c 6c 20 53 65 6c 65 63 |M -- Fi|ll Selec|
|000048d0| 74 69 6f 6e 20 26 20 49 | 6e 66 6f 20 4c 69 73 74 |tion & I|nfo List|
|000048e0| 73 20 77 2f 43 6f 6c 6f | 72 0d 47 6c 6f 62 61 6c |s w/Colo|r.Global|
|000048f0| 20 67 5f 5f 43 6f 6c 6f | 72 4c 69 73 74 0d 70 75 | g__Colo|rList.pu|
|00004900| 74 20 22 32 35 35 2c 20 | 32 31 37 2c 20 32 31 37 |t "255, |217, 217|
|00004910| 22 20 26 20 52 45 54 55 | 52 4e 20 c2 0d 26 20 22 |" & RETU|RN ..& "|
|00004920| 32 35 35 2c 20 32 35 35 | 2c 20 31 38 30 22 20 26 |255, 255|, 180" &|
|00004930| 20 52 45 54 55 52 4e 20 | c2 0d 26 20 22 32 31 37 | RETURN |..& "217|
|00004940| 2c 20 32 35 35 2c 20 32 | 31 37 22 20 26 20 52 45 |, 255, 2|17" & RE|
|00004950| 54 55 52 4e 20 c2 0d 26 | 20 22 32 31 37 2c 20 32 |TURN ..&| "217, 2|
|00004960| 35 35 2c 20 32 35 35 22 | 20 26 20 52 45 54 55 52 |55, 255"| & RETUR|
|00004970| 4e 20 c2 0d 26 20 22 32 | 31 37 2c 20 32 31 37 2c |N ..& "2|17, 217,|
|00004980| 20 32 35 35 22 20 26 20 | 52 45 54 55 52 4e 20 c2 | 255" & |RETURN .|
|00004990| 0d 26 20 22 32 35 35 2c | 20 32 31 37 2c 20 32 35 |.& "255,| 217, 25|
|000049a0| 35 22 20 26 20 52 45 54 | 55 52 4e 20 c2 0d 69 6e |5" & RET|URN ..in|
|000049b0| 74 6f 20 67 5f 5f 43 6f | 6c 6f 72 4c 69 73 74 0d |to g__Co|lorList.|
|000049c0| 0d 70 75 74 20 34 20 69 | 6e 74 6f 20 74 49 74 65 |.put 4 i|nto tIte|
|000049d0| 6d 0d 0d 70 75 74 20 20 | 6c 69 6e 65 20 74 49 74 |m..put |line tIt|
|000049e0| 65 6d 20 6f 66 20 67 5f | 5f 43 6f 6c 6f 72 4c 69 |em of g_|_ColorLi|
|000049f0| 73 74 20 69 6e 74 6f 20 | 63 75 72 43 6f 6c 6f 72 |st into |curColor|
|00004a00| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 63 |.put ite|m 1 of c|
|00004a10| 75 72 43 6f 6c 6f 72 20 | 2a 20 32 35 36 20 69 6e |urColor |* 256 in|
|00004a20| 74 6f 20 69 74 65 6d 20 | 31 20 6f 66 20 63 75 72 |to item |1 of cur|
|00004a30| 43 6f 6c 6f 72 0d 70 75 | 74 20 69 74 65 6d 20 32 |Color.pu|t item 2|
|00004a40| 20 6f 66 20 63 75 72 43 | 6f 6c 6f 72 20 2a 20 32 | of curC|olor * 2|
|00004a50| 35 36 20 69 6e 74 6f 20 | 69 74 65 6d 20 32 20 6f |56 into |item 2 o|
|00004a60| 66 20 63 75 72 43 6f 6c | 6f 72 0d 70 75 74 20 69 |f curCol|or.put i|
|00004a70| 74 65 6d 20 33 20 6f 66 | 20 63 75 72 43 6f 6c 6f |tem 3 of| curColo|
|00004a80| 72 20 2a 20 32 35 36 20 | 69 6e 74 6f 20 69 74 65 |r * 256 |into ite|
|00004a90| 6d 20 33 20 6f 66 20 63 | 75 72 43 6f 6c 6f 72 0d |m 3 of c|urColor.|
|00004aa0| 0d 67 65 74 20 72 65 63 | 74 20 6f 66 20 42 47 20 |.get rec|t of BG |
|00004ab0| 66 6c 64 20 22 53 65 6c | 65 63 74 20 4c 69 73 74 |fld "Sel|ect List|
|00004ac0| 22 0d 61 64 64 20 31 20 | 74 6f 20 69 74 65 6d 20 |".add 1 |to item |
|00004ad0| 31 20 6f 66 20 69 74 0d | 61 64 64 20 31 20 74 6f |1 of it.|add 1 to|
|00004ae0| 20 69 74 65 6d 20 32 20 | 6f 66 20 69 74 0d 63 6f | item 2 |of it.co|
|00004af0| 6c 6f 72 69 7a 65 48 43 | 20 22 43 6f 6c 6f 72 46 |lorizeHC| "ColorF|
|00004b00| 69 6c 6c 22 2c 20 69 74 | 2c 20 63 75 72 43 6f 6c |ill", it|, curCol|
|00004b10| 6f 72 0d 63 6f 6c 6f 72 | 69 7a 65 48 43 20 22 43 |or.color|izeHC "C|
|00004b20| 6f 6c 6f 72 46 69 6c 6c | 22 2c 20 72 65 63 74 20 |olorFill|", rect |
|00004b30| 6f 66 20 42 47 20 66 6c | 64 20 22 49 6e 66 6f 20 |of BG fl|d "Info |
|00004b40| 4c 69 73 74 22 2c 20 63 | 75 72 43 6f 6c 6f 72 0d |List", c|urColor.|
|00004b50| 0d 65 6e 64 20 68 46 69 | 6c 6c 4c 69 73 74 73 50 |.end hFi|llListsP|
|00004b60| 4d 0d 0d 6f 6e 20 68 45 | 72 61 73 65 46 69 6c 6c |M..on hE|raseFill|
|00004b70| 4c 69 73 74 73 0d 63 6f | 6c 6f 72 69 7a 65 48 43 |Lists.co|lorizeHC|
|00004b80| 20 22 65 72 61 73 65 22 | 2c 20 72 65 63 74 20 6f | "erase"|, rect o|
|00004b90| 66 20 42 47 20 66 6c 64 | 20 22 53 65 6c 65 63 74 |f BG fld| "Select|
|00004ba0| 20 4c 69 73 74 22 0d 63 | 6f 6c 6f 72 69 7a 65 48 | List".c|olorizeH|
|00004bb0| 43 20 22 65 72 61 73 65 | 22 2c 20 72 65 63 74 20 |C "erase|", rect |
|00004bc0| 6f 66 20 42 47 20 66 6c | 64 20 22 49 6e 66 6f 20 |of BG fl|d "Info |
|00004bd0| 4c 69 73 74 22 0d 65 6e | 64 20 68 45 72 61 73 65 |List".en|d hErase|
|00004be0| 46 69 6c 6c 4c 69 73 74 | 73 0d 0d b0 b0 b0 b0 b0 |FillList|s.......|
|00004bf0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004c00| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004c10| b0 b0 0d 0d 6f 6e 20 68 | 53 68 6f 77 50 69 63 74 |....on h|ShowPict|
|00004c20| 0d 47 6c 6f 62 61 6c 20 | 67 5f 50 61 74 68 54 6f |.Global |g_PathTo|
|00004c30| 46 69 6c 65 2c 20 67 5f | 50 61 74 68 54 6f 50 49 |File, g_|PathToPI|
|00004c40| 43 54 0d 47 6c 6f 62 61 | 6c 20 67 5f 50 61 74 68 |CT.Globa|l g_Path|
|00004c50| 54 6f 47 65 74 49 6e 66 | 6f 2c 20 67 5f 50 61 74 |ToGetInf|o, g_Pat|
|00004c60| 68 54 6f 42 6f 64 79 43 | 6f 70 79 0d 47 6c 6f 62 |hToBodyC|opy.Glob|
|00004c70| 61 6c 20 67 5f 53 65 6c | 65 63 74 69 6f 6e 4c 69 |al g_Sel|ectionLi|
|00004c80| 73 74 2c 20 67 5f 44 61 | 74 61 53 74 72 75 63 74 |st, g_Da|taStruct|
|00004c90| 75 72 65 2c 20 67 5f 41 | 64 46 6c 79 4f 74 68 0d |ure, g_A|dFlyOth.|
|00004ca0| 2d 2d 47 6c 6f 62 61 6c | 20 67 5f 50 49 43 54 77 |--Global| g_PICTw|
|00004cb0| 69 6e 64 6f 77 0d 2d 2d | 6c 6f 63 6b 20 73 63 72 |indow.--|lock scr|
|00004cc0| 65 65 6e 0d 0d 2d 2d 20 | 69 66 20 74 68 65 72 65 |een..-- |if there|
|00004cd0| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 67 5f 50 | is a wi|ndow g_P|
|00004ce0| 49 43 54 77 69 6e 64 6f | 77 20 74 68 65 6e 20 63 |ICTwindo|w then c|
|00004cf0| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 67 5f 50 49 |lose win|dow g_PI|
|00004d00| 43 54 77 69 6e 64 6f 77 | 0d 6c 6f 63 6b 20 73 63 |CTwindow|.lock sc|
|00004d10| 72 65 65 6e 0d 0d 69 66 | 20 67 5f 44 61 74 61 53 |reen..if| g_DataS|
|00004d20| 74 72 75 63 74 75 72 65 | 20 69 73 20 4e 4f 54 20 |tructure| is NOT |
|00004d30| 45 4d 50 54 59 20 74 68 | 65 6e 0d 70 75 74 20 74 |EMPTY th|en.put t|
|00004d40| 6f 70 6c 65 66 74 20 6f | 66 20 42 47 20 62 74 6e |opleft o|f BG btn|
|00004d50| 20 22 50 49 43 54 20 66 | 72 61 6d 65 22 20 69 6e | "PICT f|rame" in|
|00004d60| 74 6f 20 74 4c 6f 63 0d | 61 64 64 20 33 20 74 6f |to tLoc.|add 3 to|
|00004d70| 20 69 74 65 6d 20 31 20 | 6f 66 20 74 4c 6f 63 0d | item 1 |of tLoc.|
|00004d80| 61 64 64 20 32 20 74 6f | 20 69 74 65 6d 20 32 20 |add 2 to| item 2 |
|00004d90| 6f 66 20 74 4c 6f 63 0d | 70 75 74 20 22 43 6f 70 |of tLoc.|put "Cop|
|00004da0| 79 22 20 69 6e 74 6f 20 | 63 75 72 4d 6f 64 65 0d |y" into |curMode.|
|00004db0| 63 6f 6c 6f 72 69 7a 65 | 48 43 20 22 61 64 64 22 |colorize|HC "add"|
|00004dc0| 2c 67 5f 50 61 74 68 54 | 6f 50 49 43 54 2c 20 74 |,g_PathT|oPICT, t|
|00004dd0| 4c 6f 63 2c 2c 63 75 72 | 4d 6f 64 65 0d 65 6c 73 |Loc,,cur|Mode.els|
|00004de0| 65 0d 67 65 74 20 52 45 | 43 54 20 6f 66 20 42 47 |e.get RE|CT of BG|
|00004df0| 20 62 74 6e 20 22 50 49 | 43 54 20 66 72 61 6d 65 | btn "PI|CT frame|
|00004e00| 22 0d 63 6f 6c 6f 72 69 | 7a 65 48 43 20 22 45 72 |".colori|zeHC "Er|
|00004e10| 61 73 65 22 2c 20 69 74 | 0d 65 6e 64 20 69 66 0d |ase", it|.end if.|
|00004e20| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 0d |.unlock |screen..|
|00004e30| 0d 65 6e 64 20 68 53 68 | 6f 77 50 69 63 74 0d 0d |.end hSh|owPict..|
|00004e40| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004e50| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004e60| b0 b0 b0 b0 b0 b0 b0 0d | 0d 6f 6e 20 63 6f 6d 6d |........|.on comm|
|00004e70| 61 6e 64 6b 65 79 64 6f | 77 6e 20 77 68 61 74 4b |andkeydo|wn whatK|
|00004e80| 65 79 0d 69 66 20 77 68 | 61 74 4b 65 79 20 3d 20 |ey.if wh|atKey = |
|00004e90| 22 71 22 20 74 68 65 6e | 0d 64 6f 51 75 69 74 0d |"q" then|.doQuit.|
|00004ea0| 65 6c 73 65 20 70 61 73 | 73 20 63 6f 6d 6d 61 6e |else pas|s comman|
|00004eb0| 64 6b 65 79 64 6f 77 6e | 0d 65 6e 64 20 63 6f 6d |dkeydown|.end com|
|00004ec0| 6d 61 6e 64 6b 65 79 64 | 6f 77 6e 0d 0d 0d 0d 6f |mandkeyd|own....o|
|00004ed0| 6e 20 64 6f 51 75 69 74 | 0d 68 42 61 6c 6c 6f 6f |n doQuit|.hBalloo|
|00004ee0| 6e 4f 66 66 0d 47 6c 6f | 62 61 6c 20 67 5f 53 79 |nOff.Glo|bal g_Sy|
|00004ef0| 73 5f 41 62 6f 72 74 5f | 46 6c 61 67 0d 6c 6f 63 |s_Abort_|Flag.loc|
|00004f00| 6b 20 73 63 72 65 65 6e | 0d 67 6f 20 43 44 20 31 |k screen|.go CD 1|
|00004f10| 0d 0d 69 66 20 67 5f 53 | 79 73 5f 41 62 6f 72 74 |..if g_S|ys_Abort|
|00004f20| 5f 46 6c 61 67 20 3d 20 | 54 52 55 45 20 74 68 65 |_Flag = |TRUE the|
|00004f30| 6e 20 2d 2d 20 77 65 27 | 76 65 20 72 65 63 75 72 |n -- we'|ve recur|
|00004f40| 73 65 64 20 69 6e 74 6f | 20 74 68 69 73 20 68 61 |sed into| this ha|
|00004f50| 6e 64 6c 65 72 20 2d 20 | 45 58 49 54 0d 64 6f 52 |ndler - |EXIT.doR|
|00004f60| 65 61 6c 51 75 69 74 0d | 65 78 69 74 20 64 6f 51 |ealQuit.|exit doQ|
|00004f70| 75 69 74 0d 65 6e 64 20 | 69 66 0d 2d 2d 20 20 20 |uit.end |if.-- |
|00004f80| 20 20 46 61 6c 6c 20 69 | 66 20 46 6c 61 67 20 69 | Fall i|f Flag i|
|00004f90| 73 20 45 4d 50 54 59 20 | 6f 72 20 22 57 41 52 4e |s EMPTY |or "WARN|
|00004fa0| 49 4e 47 22 0d 63 6f 6c | 6f 72 69 7a 65 48 43 20 |ING".col|orizeHC |
|00004fb0| 22 64 69 73 70 6f 73 65 | 22 0d 0d 70 75 74 20 54 |"dispose|"..put T|
|00004fc0| 52 55 45 20 69 6e 74 6f | 20 67 5f 53 79 73 5f 41 |RUE into| g_Sys_A|
|00004fd0| 62 6f 72 74 5f 46 6c 61 | 67 20 2d 2d 20 53 65 74 |bort_Fla|g -- Set|
|00004fe0| 20 66 6c 61 67 20 74 6f | 20 41 62 6f 72 74 20 6c | flag to| Abort l|
|00004ff0| 61 74 65 72 0d 0d 2d 2d | 20 44 69 73 70 6c 61 79 |ater..--| Display|
|00005000| 20 43 6f 70 79 52 69 67 | 68 74 2f 54 72 61 64 65 | CopyRig|ht/Trade|
|00005010| 4d 61 72 6b 20 49 6e 66 | 6f 0d 0d 68 69 64 65 20 |Mark Inf|o..hide |
|00005020| 43 44 20 62 74 6e 20 22 | 77 68 61 74 27 73 20 6e |CD btn "|what's n|
|00005030| 65 77 22 0d 68 69 64 65 | 20 43 44 20 62 74 6e 20 |ew".hide| CD btn |
|00005040| 22 70 72 69 6e 74 20 6d | 61 74 65 72 69 61 6c 73 |"print m|aterials|
|00005050| 22 0d 68 69 64 65 20 43 | 44 20 62 74 6e 20 22 70 |".hide C|D btn "p|
|00005060| 72 6f 64 75 63 74 20 63 | 6f 6d 70 6f 6e 65 6e 74 |roduct c|omponent|
|00005070| 73 22 0d 68 69 64 65 20 | 43 44 20 62 74 6e 20 22 |s".hide |CD btn "|
|00005080| 70 68 6f 74 6f 67 72 61 | 70 68 79 22 0d 68 69 64 |photogra|phy".hid|
|00005090| 65 20 43 44 20 62 74 6e | 20 22 68 65 6c 70 20 73 |e CD btn| "help s|
|000050a0| 79 73 74 65 6d 22 20 2d | 2d 20 20 20 20 20 44 6f |ystem" -|- Do|
|000050b0| 6e 27 74 20 73 68 6f 77 | 20 6d 61 69 6e 20 62 75 |n't show| main bu|
|000050c0| 74 74 6f 6e 73 0d 0d 70 | 75 74 20 43 44 20 66 6c |ttons..p|ut CD fl|
|000050d0| 64 20 22 71 75 69 74 20 | 69 6e 66 6f 22 20 6f 66 |d "quit |info" of|
|000050e0| 20 43 44 20 31 20 6f 66 | 20 42 47 20 22 4d 69 73 | CD 1 of| BG "Mis|
|000050f0| 63 20 54 65 78 74 20 49 | 6e 66 6f 22 c2 0d 69 6e |c Text I|nfo"..in|
|00005100| 74 6f 20 43 44 20 66 6c | 64 20 22 53 79 73 74 65 |to CD fl|d "Syste|
|00005110| 6d 20 54 65 78 74 22 0d | 73 65 74 20 73 63 72 6f |m Text".|set scro|
|00005120| 6c 6c 20 6f 66 20 43 44 | 20 66 6c 64 20 22 53 79 |ll of CD| fld "Sy|
|00005130| 73 74 65 6d 20 54 65 78 | 74 22 20 74 6f 20 30 0d |stem Tex|t" to 0.|
|00005140| 73 68 6f 77 20 43 44 20 | 66 6c 64 20 22 53 79 73 |show CD |fld "Sys|
|00005150| 74 65 6d 20 54 65 78 74 | 22 0d 73 68 6f 77 20 43 |tem Text|".show C|
|00005160| 44 20 62 74 6e 20 22 43 | 6c 69 63 6b 20 74 6f 20 |D btn "C|lick to |
|00005170| 43 6f 6e 74 69 6e 75 65 | 22 0d 75 6e 6c 6f 63 6b |Continue|".unlock|
|00005180| 20 73 63 72 65 65 6e 0d | 0d 65 78 69 74 20 74 6f | screen.|.exit to|
|00005190| 20 48 79 70 65 72 43 61 | 72 64 20 2d 2d 20 41 62 | HyperCa|rd -- Ab|
|000051a0| 6f 72 74 0d 65 6e 64 20 | 64 6f 51 75 69 74 0d 0d |ort.end |doQuit..|
|000051b0| 0d 6f 6e 20 64 6f 52 65 | 61 6c 51 75 69 74 0d 67 |.on doRe|alQuit.g|
|000051c0| 6f 20 43 44 20 31 0d 68 | 69 64 65 20 43 44 20 66 |o CD 1.h|ide CD f|
|000051d0| 6c 64 20 22 53 79 73 74 | 65 6d 20 54 65 78 74 22 |ld "Syst|em Text"|
|000051e0| 0d 68 69 64 65 20 43 44 | 20 62 74 6e 20 22 43 6c |.hide CD| btn "Cl|
|000051f0| 69 63 6b 20 74 6f 20 43 | 6f 6e 74 69 6e 75 65 22 |ick to C|ontinue"|
|00005200| 0d 0d 2d 2d 20 72 65 73 | 65 74 20 6d 65 6e 75 62 |..-- res|et menub|
|00005210| 61 72 0d 63 6f 6c 6f 72 | 69 7a 65 48 43 20 22 64 |ar.color|izeHC "d|
|00005220| 69 73 70 6f 73 65 22 0d | 53 65 6e 64 20 22 64 6f |ispose".|Send "do|
|00005230| 4d 65 6e 75 20 51 75 69 | 74 20 48 79 70 65 72 43 |Menu Qui|t HyperC|
|00005240| 61 72 64 22 20 74 6f 20 | 48 79 70 65 72 43 61 72 |ard" to |HyperCar|
|00005250| 64 0d 65 6e 64 20 64 6f | 52 65 61 6c 51 75 69 74 |d.end do|RealQuit|
|00005260| 0d 0d 0d 6f 6e 20 64 6f | 52 65 73 74 61 72 74 46 |...on do|RestartF|
|00005270| 72 6f 6d 45 52 52 4f 52 | 20 2d 2d 20 63 68 65 63 |romERROR| -- chec|
|00005280| 6b 20 74 6f 20 73 65 65 | 20 69 66 20 74 69 6d 65 |k to see| if time|
|00005290| 20 74 6f 20 61 62 6f 72 | 74 0d 47 6c 6f 62 61 6c | to abor|t.Global|
|000052a0| 20 67 5f 53 79 73 5f 41 | 62 6f 72 74 5f 46 6c 61 | g_Sys_A|bort_Fla|
|000052b0| 67 0d 69 66 20 67 5f 53 | 79 73 5f 41 62 6f 72 74 |g.if g_S|ys_Abort|
|000052c0| 5f 46 6c 61 67 20 3d 20 | 54 52 55 45 20 74 68 65 |_Flag = |TRUE the|
|000052d0| 6e 20 2d 2d 20 77 65 27 | 76 65 20 72 65 63 75 72 |n -- we'|ve recur|
|000052e0| 73 65 64 20 69 6e 74 6f | 20 74 68 69 73 20 68 61 |sed into| this ha|
|000052f0| 6e 64 6c 65 72 20 2d 20 | 45 58 49 54 0d 64 6f 52 |ndler - |EXIT.doR|
|00005300| 65 61 6c 51 75 69 74 0d | 65 78 69 74 20 64 6f 52 |ealQuit.|exit doR|
|00005310| 65 73 74 61 72 74 46 72 | 6f 6d 45 52 52 4f 52 0d |estartFr|omERROR.|
|00005320| 65 6e 64 20 69 66 0d 69 | 66 20 67 5f 53 79 73 5f |end if.i|f g_Sys_|
|00005330| 41 62 6f 72 74 5f 46 6c | 61 67 20 3d 20 22 57 41 |Abort_Fl|ag = "WA|
|00005340| 52 4e 49 4e 47 22 20 74 | 68 65 6e 0d 70 75 74 20 |RNING" t|hen.put |
|00005350| 45 4d 50 54 59 20 69 6e | 74 6f 20 67 5f 53 79 73 |EMPTY in|to g_Sys|
|00005360| 5f 41 62 6f 72 74 5f 46 | 6c 61 67 20 2d 2d 20 72 |_Abort_F|lag -- r|
|00005370| 65 73 65 74 20 46 4c 41 | 47 0d 53 65 6e 64 20 22 |eset FLA|G.Send "|
|00005380| 4f 50 45 4e 43 41 52 44 | 22 20 74 6f 20 43 44 20 |OPENCARD|" to CD |
|00005390| 31 20 2d 2d 20 72 65 73 | 74 61 72 74 20 74 68 69 |1 -- res|tart thi|
|000053a0| 73 20 63 61 72 64 0d 65 | 6e 64 20 69 66 0d 68 69 |s card.e|nd if.hi|
|000053b0| 64 65 20 43 44 20 66 6c | 64 20 22 53 79 73 74 65 |de CD fl|d "Syste|
|000053c0| 6d 20 54 65 78 74 22 0d | 68 69 64 65 20 43 44 20 |m Text".|hide CD |
|000053d0| 62 74 6e 20 22 43 6c 69 | 63 6b 20 74 6f 20 43 6f |btn "Cli|ck to Co|
|000053e0| 6e 74 69 6e 75 65 22 0d | 0d 65 6e 64 20 64 6f 52 |ntinue".|.end doR|
|000053f0| 65 73 74 61 72 74 46 72 | 6f 6d 45 52 52 4f 52 0d |estartFr|omERROR.|
|00005400| 0d 0d 0d 0d 0d d7 d7 d7 | d7 d7 d7 d7 d7 d7 d7 d7 |........|........|
|00005410| d7 d7 d7 d7 d7 d7 d7 d7 | d7 d7 d7 d7 d7 d7 d7 d7 |........|........|
|00005420| d7 d7 d7 d7 d7 d7 d7 d7 | d7 d7 d7 d7 d7 d7 d7 d7 |........|........|
|00005430| d7 d7 d7 d7 d7 d7 d7 d7 | d7 0d 2d 2d 20 20 20 20 |........|..-- |
|00005440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005450| 20 20 20 20 20 20 47 45 | 4e 45 52 41 4c 20 50 55 | GE|NERAL PU|
|00005460| 52 50 4f 53 45 20 53 55 | 42 52 4f 55 54 49 4e 45 |RPOSE SU|BROUTINE|
|00005470| 53 0d d7 d7 d7 d7 d7 d7 | d7 d7 d7 d7 d7 d7 d7 d7 |S.......|........|
|00005480| d7 d7 d7 d7 d7 d7 d7 d7 | d7 d7 d7 d7 d7 d7 d7 d7 |........|........|
|00005490| d7 d7 d7 d7 d7 d7 d7 d7 | d7 d7 d7 d7 d7 d7 d7 d7 |........|........|
|000054a0| d7 d7 d7 d7 d7 d7 0d 0d | 0d 0d 0d 2d 2d 20 20 20 |........|...-- |
|000054b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000054c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 46 49 | | FI|
|000054d0| 4e 44 20 52 4f 4f 54 20 | 50 41 54 48 4e 41 4d 45 |ND ROOT |PATHNAME|
|000054e0| 0d 2d 2d 20 46 75 6e 63 | 74 69 6f 6e 20 46 6f 72 |.-- Func|tion For|
|000054f0| 6d 61 74 3a 20 d2 50 55 | 54 20 46 75 6c 6c 52 6f |mat: .PU|T FullRo|
|00005500| 6f 74 50 61 74 68 20 28 | 29 20 69 6e 74 6f 20 69 |otPath (|) into i|
|00005510| 74 d3 20 6f 72 20 d2 47 | 45 54 20 46 75 6c 6c 52 |t. or .G|ET FullR|
|00005520| 6f 6f 74 50 61 74 68 20 | 28 29 d3 0d 2d 2d 20 20 |ootPath |()..-- |
|00005530| 20 49 6e 70 75 74 3a 20 | 4e 4f 54 48 49 4e 47 0d | Input: |NOTHING.|
|00005540| 2d 2d 20 20 20 52 65 74 | 75 72 6e 73 3a 20 46 75 |-- Ret|urns: Fu|
|00005550| 6c 6c 20 50 61 74 68 4e | 61 6d 65 20 74 6f 20 63 |ll PathN|ame to c|
|00005560| 75 72 72 65 6e 74 20 46 | 6f 6c 64 65 72 0d 2d 2d |urrent F|older.--|
|00005570| 20 20 20 4e 4f 54 45 3a | 20 20 20 20 20 4c 65 61 | NOTE:| Lea|
|00005580| 76 65 73 20 45 6e 64 69 | 6e 67 20 43 4f 4c 4f 4e |ves Endi|ng COLON|
|00005590| 20 6f 6e 20 50 61 74 68 | 4e 61 6d 65 20 28 69 65 | on Path|Name (ie|
|000055a0| 2e 2c 20 61 66 74 65 72 | 20 6c 61 73 74 20 46 6f |., after| last Fo|
|000055b0| 6c 64 65 72 4e 61 6d 65 | 29 0d 0d 46 55 4e 43 54 |lderName|)..FUNCT|
|000055c0| 49 4f 4e 20 46 75 6c 6c | 52 6f 6f 74 50 61 74 68 |ION Full|RootPath|
|000055d0| 0d 67 65 74 20 77 6f 72 | 64 20 32 20 6f 66 20 6c |.get wor|d 2 of l|
|000055e0| 6f 6e 67 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ong name| of this|
|000055f0| 20 73 74 61 63 6b 20 2d | 2d 20 4e 61 6d 65 20 6f | stack -|- Name o|
|00005600| 66 20 53 54 41 43 4b 20 | 77 2f 46 75 6c 6c 20 50 |f STACK |w/Full P|
|00005610| 61 74 68 4e 61 6d 65 0d | 64 65 6c 65 74 65 20 6c |athName.|delete l|
|00005620| 61 73 74 20 63 68 61 72 | 20 6f 66 20 69 74 0d 64 |ast char| of it.d|
|00005630| 65 6c 65 74 65 20 66 69 | 72 73 74 20 63 68 61 72 |elete fi|rst char|
|00005640| 20 6f 66 20 69 74 20 2d | 2d 20 52 65 6d 6f 76 65 | of it -|- Remove|
|00005650| 20 6c 65 61 64 69 6e 67 | 20 61 6e 64 20 65 6e 64 | leading| and end|
|00005660| 69 6e 67 20 51 55 4f 54 | 45 53 0d 73 65 74 20 74 |ing QUOT|ES.set t|
|00005670| 68 65 20 69 74 65 6d 44 | 65 6c 69 6d 69 74 65 72 |he itemD|elimiter|
|00005680| 20 74 6f 20 22 3a 22 0d | 64 65 6c 65 74 65 20 6c | to ":".|delete l|
|00005690| 61 73 74 20 69 74 65 6d | 20 6f 66 20 69 74 20 2d |ast item| of it -|
|000056a0| 2d 20 52 65 6d 6f 76 65 | 20 63 75 72 72 65 6e 74 |- Remove| current|
|000056b0| 20 53 74 61 63 6b 4e 61 | 6d 65 20 66 72 6f 6d 20 | StackNa|me from |
|000056c0| 50 61 74 68 0d 73 65 74 | 20 74 68 65 20 69 74 65 |Path.set| the ite|
|000056d0| 6d 44 65 6c 69 6d 69 74 | 65 72 20 74 6f 20 22 2c |mDelimit|er to ",|
|000056e0| 22 0d 0d 52 45 54 55 52 | 4e 20 28 69 74 20 26 20 |"..RETUR|N (it & |
|000056f0| 22 3a 22 29 20 2d 2d 20 | 41 70 70 65 6e 64 20 45 |":") -- |Append E|
|00005700| 6e 64 69 6e 67 20 43 4f | 4c 4f 4e 20 6f 6e 20 50 |nding CO|LON on P|
|00005710| 61 74 68 4e 61 6d 65 0d | 45 4e 44 20 46 75 6c 6c |athName.|END Full|
|00005720| 52 6f 6f 74 50 61 74 68 | 0d 0d b0 b0 b0 b0 b0 b0 |RootPath|........|
|00005730| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005740| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005750| b0 0d 0d 2d 2d 20 20 20 | 20 20 20 20 20 20 20 20 |...-- | |
|00005760| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005770| 20 20 20 20 20 20 20 20 | 20 20 20 52 45 41 44 20 | | READ |
|00005780| 41 4e 59 20 53 49 5a 45 | 20 46 49 4c 45 0d 2d 2d |ANY SIZE| FILE.--|
|00005790| 20 46 75 6e 63 74 69 6f | 6e 20 46 6f 72 6d 61 74 | Functio|n Format|
|000057a0| 3a 0d 2d 2d 20 20 20 d2 | 50 55 54 20 52 65 61 64 |:.-- .|PUT Read|
|000057b0| 46 69 6c 65 20 28 70 4e | 61 6d 65 29 20 69 6e 74 |File (pN|ame) int|
|000057c0| 6f 20 69 74 d3 20 6f 72 | 20 d2 47 45 54 20 52 65 |o it. or| .GET Re|
|000057d0| 61 64 46 69 6c 65 20 28 | 70 4e 61 6d 65 29 d3 0d |adFile (|pName)..|
|000057e0| 2d 2d 20 20 20 49 6e 70 | 75 74 3a 20 70 4e 61 6d |-- Inp|ut: pNam|
|000057f0| 65 20 3d 20 46 55 4c 4c | 20 50 61 74 68 4e 61 6d |e = FULL| PathNam|
|00005800| 65 20 69 6e 63 6c 75 64 | 69 6e 67 20 4e 61 6d 65 |e includ|ing Name|
|00005810| 20 6f 66 20 46 69 6c 65 | 0d 2d 2d 20 20 20 52 65 | of File|.-- Re|
|00005820| 74 75 72 6e 73 3a 20 43 | 6f 6e 74 65 6e 74 73 20 |turns: C|ontents |
|00005830| 6f 66 20 46 49 4c 45 20 | d2 70 4e 61 6d 65 d3 0d |of FILE |.pName..|
|00005840| 0d 46 55 4e 43 54 49 4f | 4e 20 52 65 61 64 46 69 |.FUNCTIO|N ReadFi|
|00005850| 6c 65 20 70 4e 61 6d 65 | 0d 70 75 74 20 22 22 20 |le pName|.put "" |
|00005860| 69 6e 74 6f 20 66 69 6c | 65 56 41 52 20 2d 2d 20 |into fil|eVAR -- |
|00005870| 54 45 4d 50 20 46 69 6c | 65 20 43 6f 6e 74 65 6e |TEMP Fil|e Conten|
|00005880| 74 73 20 56 41 52 0d 4f | 70 65 6e 20 66 69 6c 65 |ts VAR.O|pen file|
|00005890| 20 70 4e 61 6d 65 0d 72 | 65 70 65 61 74 0d 52 65 | pName.r|epeat.Re|
|000058a0| 61 64 20 66 72 6f 6d 20 | 66 69 6c 65 20 70 4e 61 |ad from |file pNa|
|000058b0| 6d 65 20 66 6f 72 20 31 | 36 33 38 34 20 20 2d 2d |me for 1|6384 --|
|000058c0| 20 52 65 61 64 20 46 49 | 4c 45 20 63 68 75 6e 6b | Read FI|LE chunk|
|000058d0| 20 69 6e 74 6f 20 49 54 | 20 28 75 70 74 6f 20 31 | into IT| (upto 1|
|000058e0| 36 4b 29 0d 69 66 20 69 | 74 20 3d 20 22 22 20 74 |6K).if i|t = "" t|
|000058f0| 68 65 6e 20 45 58 49 54 | 20 72 65 70 65 61 74 20 |hen EXIT| repeat |
|00005900| 2d 2d 20 45 6e 64 2d 4f | 66 2d 46 69 6c 65 0d 70 |-- End-O|f-File.p|
|00005910| 75 74 20 69 74 20 61 66 | 74 65 72 20 66 69 6c 65 |ut it af|ter file|
|00005920| 56 41 52 20 2d 2d 20 20 | 20 20 20 20 20 20 41 70 |VAR -- | Ap|
|00005930| 70 65 6e 64 20 74 6f 20 | 56 41 52 0d 65 6e 64 20 |pend to |VAR.end |
|00005940| 72 65 70 65 61 74 0d 43 | 6c 6f 73 65 20 66 69 6c |repeat.C|lose fil|
|00005950| 65 20 70 4e 61 6d 65 0d | 0d 52 45 54 55 52 4e 20 |e pName.|.RETURN |
|00005960| 28 66 69 6c 65 56 41 52 | 29 0d 45 4e 44 20 52 65 |(fileVAR|).END Re|
|00005970| 61 64 46 69 6c 65 0d 0d | b0 b0 b0 b0 b0 b0 b0 b0 |adFile..|........|
|00005980| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005990| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 0d |........|........|
|000059a0| 0d 0d 2d 2d 20 20 20 20 | 20 20 20 20 20 20 20 20 |..-- | |
|000059b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000059c0| 20 20 20 20 20 20 20 20 | 57 52 49 54 45 20 41 4e | |WRITE AN|
|000059d0| 59 20 53 49 5a 45 20 46 | 49 4c 45 0d 2d 2d 20 50 |Y SIZE F|ILE.-- P|
|000059e0| 72 6f 63 65 64 75 72 65 | 20 46 6f 72 6d 61 74 3a |rocedure| Format:|
|000059f0| 20 d2 57 72 69 74 65 46 | 69 6c 65 20 70 4e 61 6d | .WriteF|ile pNam|
|00005a00| 65 2c 20 74 44 61 74 61 | d3 0d 2d 2d 20 20 20 49 |e, tData|..-- I|
|00005a10| 6e 70 75 74 73 3a 0d 2d | 2d 20 20 20 20 20 20 70 |nputs:.-|- p|
|00005a20| 4e 61 6d 65 20 3d 20 46 | 55 4c 4c 20 50 61 74 68 |Name = F|ULL Path|
|00005a30| 4e 61 6d 65 20 69 6e 63 | 6c 75 64 69 6e 67 20 4e |Name inc|luding N|
|00005a40| 61 6d 65 20 6f 66 20 46 | 69 6c 65 0d 2d 2d 20 20 |ame of F|ile.-- |
|00005a50| 20 20 20 20 74 44 61 74 | 61 20 3d 20 20 43 6f 6d | tDat|a = Com|
|00005a60| 70 6c 65 74 65 20 54 45 | 58 54 20 44 61 74 61 20 |plete TE|XT Data |
|00005a70| 74 6f 20 57 72 69 74 65 | 20 54 6f 20 46 69 6c 65 |to Write| To File|
|00005a80| 0d 2d 2d 20 20 20 52 65 | 74 75 72 6e 73 3a 20 4e |.-- Re|turns: N|
|00005a90| 4f 54 48 49 4e 47 0d 0d | 4f 4e 20 57 72 69 74 65 |OTHING..|ON Write|
|00005aa0| 46 69 6c 65 20 70 4e 61 | 6d 65 2c 20 74 44 61 74 |File pNa|me, tDat|
|00005ab0| 61 0d 4f 70 65 6e 20 66 | 69 6c 65 20 70 4e 61 6d |a.Open f|ile pNam|
|00005ac0| 65 0d 57 72 69 74 65 20 | 74 44 61 74 61 20 74 6f |e.Write |tData to|
|00005ad0| 20 66 69 6c 65 20 70 4e | 61 6d 65 20 2d 2d 20 53 | file pN|ame -- S|
|00005ae0| 61 76 65 20 54 65 78 74 | 20 44 61 74 61 0d 43 6c |ave Text| Data.Cl|
|00005af0| 6f 73 65 20 66 69 6c 65 | 20 70 4e 61 6d 65 0d 0d |ose file| pName..|
|00005b00| 45 4e 44 20 57 72 69 74 | 65 46 69 6c 65 0d 0d b0 |END Writ|eFile...|
|00005b10| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005b20| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005b30| b0 b0 b0 b0 b0 b0 0d 0d | 0d 46 75 6e 63 74 69 6f |........|.Functio|
|00005b40| 6e 20 68 6b 31 43 6c 69 | 63 6b 53 4c 69 6e 65 20 |n hk1Cli|ckSLine |
|00005b50| 20 2d 2d 20 52 65 74 75 | 72 6e 73 20 63 75 72 72 | -- Retu|rns curr|
|00005b60| 65 6e 74 20 6c 69 6e 65 | 20 23 20 69 6e 20 53 63 |ent line| # in Sc|
|00005b70| 72 6f 6c 6c 69 6e 67 20 | 66 69 65 6c 64 0d 0d 2d |rolling |field..-|
|00005b80| 2d 20 75 73 65 64 20 77 | 69 74 68 20 47 65 6e 20 |- used w|ith Gen |
|00005b90| 31 32 3d 20 72 65 74 75 | 72 6e 20 28 28 73 63 72 |12= retu|rn ((scr|
|00005ba0| 6f 6c 6c 20 6f 66 20 74 | 61 72 67 65 74 20 2d 20 |oll of t|arget - |
|00005bb0| 34 20 c2 0d 2d 2d 20 75 | 73 65 64 20 77 69 74 68 |4 ..-- u|sed with|
|00005bc0| 20 47 65 6e 20 31 30 3d | 20 72 65 74 75 72 6e 20 | Gen 10=| return |
|00005bd0| 28 28 73 63 72 6f 6c 6c | 20 6f 66 20 74 61 72 67 |((scroll| of targ|
|00005be0| 65 74 20 2d 20 31 20 c2 | 0d 72 65 74 75 72 6e 20 |et - 1 .|.return |
|00005bf0| 28 28 73 63 72 6f 6c 6c | 20 6f 66 20 74 61 72 67 |((scroll| of targ|
|00005c00| 65 74 20 2d 20 31 20 c2 | 0d 2b 20 74 68 65 20 63 |et - 1 .|.+ the c|
|00005c10| 6c 69 63 6b 56 20 2d 20 | 74 6f 70 20 6f 66 20 74 |lickV - |top of t|
|00005c20| 61 72 67 65 74 29 20 64 | 69 76 20 74 65 78 74 68 |arget) d|iv texth|
|00005c30| 65 69 67 68 74 20 6f 66 | 20 74 61 72 67 65 74 20 |eight of| target |
|00005c40| 2b 20 31 29 0d 0d 2d 2d | 20 4e 4f 54 45 53 3a 0d |+ 1)..--| NOTES:.|
|00005c50| 2d 2d 20 20 4d 75 73 74 | 20 75 73 65 20 22 54 48 |-- Must| use "TH|
|00005c60| 45 22 20 62 65 66 6f 72 | 65 20 22 43 4c 49 43 4b |E" befor|e "CLICK|
|00005c70| 56 22 2c 20 62 75 74 20 | 6e 6f 74 20 6e 65 65 64 |V", but |not need|
|00005c80| 65 64 20 65 6c 73 65 77 | 68 65 72 65 0d 2d 2d 20 |ed elsew|here.-- |
|00005c90| 20 45 78 74 72 61 20 53 | 63 72 6f 6c 6c 20 59 53 | Extra S|croll YS|
|00005ca0| 4c 20 4f 66 66 73 65 74 | 20 28 6d 69 6e 75 73 20 |L Offset| (minus |
|00005cb0| 34 29 20 74 6f 20 63 65 | 6e 74 65 72 20 59 20 63 |4) to ce|nter Y c|
|00005cc0| 6c 69 63 6b 6c 69 6e 65 | 20 72 61 6e 67 65 0d 2d |lickline| range.-|
|00005cd0| 2d 20 20 45 78 74 72 61 | 20 59 53 4c 20 4f 66 66 |- Extra| YSL Off|
|00005ce0| 73 65 74 20 41 73 73 75 | 6d 65 73 20 22 57 69 64 |set Assu|mes "Wid|
|00005cf0| 65 20 4d 61 72 67 69 6e | 73 22 20 73 65 74 20 74 |e Margin|s" set t|
|00005d00| 6f 20 54 52 55 45 0d 45 | 6e 64 20 68 6b 31 43 6c |o TRUE.E|nd hk1Cl|
|00005d10| 69 63 6b 53 4c 69 6e 65 | 0d 0d 0d 46 75 6e 63 74 |ickSLine|...Funct|
|00005d20| 69 6f 6e 20 68 43 6c 69 | 63 6b 6c 69 6e 65 20 20 |ion hCli|ckline |
|00005d30| 20 2d 2d 20 52 65 74 75 | 72 6e 73 20 63 75 72 72 | -- Retu|rns curr|
|00005d40| 65 6e 74 20 6c 69 6e 65 | 20 23 20 6f 66 20 4e 6f |ent line| # of No|
|00005d50| 6e 2d 53 63 72 6f 6c 6c | 69 6e 67 20 66 69 65 6c |n-Scroll|ing fiel|
|00005d60| 64 0d 0d 72 65 74 75 72 | 6e 20 28 28 74 68 65 20 |d..retur|n ((the |
|00005d70| 63 6c 69 63 6b 76 2d 74 | 6f 70 20 6f 66 20 74 61 |clickv-t|op of ta|
|00005d80| 72 67 65 74 29 2d 32 29 | 64 69 76 28 74 65 78 74 |rget)-2)|div(text|
|00005d90| 68 65 69 67 68 74 20 6f | 66 20 74 61 72 67 65 74 |height o|f target|
|00005da0| 29 2b 31 0d 2d 2d 20 4e | 4f 54 45 3a 20 65 78 74 |)+1.-- N|OTE: ext|
|00005db0| 72 61 20 59 53 4c 20 6f | 66 66 73 65 74 20 2e 2e |ra YSL o|ffset ..|
|00005dc0| 2e 2e 2e 2e 2e 2e 5e 2e | 2e 28 4d 69 6e 75 73 20 |......^.|.(Minus |
|00005dd0| 31 29 20 74 6f 20 70 72 | 65 76 65 6e 74 20 70 61 |1) to pr|event pa|
|00005de0| 73 74 20 65 6e 64 20 65 | 72 72 0d 2d 2d 20 4e 4f |st end e|rr.-- NO|
|00005df0| 54 45 3a 20 65 78 74 72 | 61 20 59 53 4c 20 6f 6e |TE: extr|a YSL on|
|00005e00| 6c 79 20 6e 65 65 64 65 | 64 20 69 66 20 73 65 6c |ly neede|d if sel|
|00005e10| 65 63 74 69 6e 67 20 77 | 69 74 68 69 6e 20 66 6c |ecting w|ithin fl|
|00005e20| 64 0d 2d 2d 20 20 20 20 | 20 20 20 69 65 2e 2c 20 |d.-- | ie., |
|00005e30| 6e 6f 74 20 6e 65 65 64 | 65 64 20 69 6e 20 62 75 |not need|ed in bu|
|00005e40| 74 74 6f 6e 20 73 65 6c | 65 63 74 0d 2d 2d 20 4f |tton sel|ect.-- O|
|00005e50| 4b 20 74 6f 20 63 68 61 | 6e 67 65 20 22 74 68 65 |K to cha|nge "the|
|00005e60| 20 74 61 72 67 65 74 22 | 20 74 6f 20 22 4d 65 22 | target"| to "Me"|
|00005e70| 20 69 66 20 46 75 6e 63 | 20 43 6f 64 65 20 70 75 | if Func| Code pu|
|00005e80| 74 20 69 6e 20 66 69 65 | 6c 64 2e 0d 45 6e 64 20 |t in fie|ld..End |
|00005e90| 68 43 6c 69 63 6b 6c 69 | 6e 65 0d 0d b0 b0 b0 b0 |hClickli|ne......|
|00005ea0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005eb0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005ec0| b0 b0 b0 0d 0d 6f 6e 20 | 64 6f 43 6f 70 79 46 69 |.....on |doCopyFi|
|00005ed0| 6c 65 0d 47 6c 6f 62 61 | 6c 20 67 5f 41 4d 54 4b |le.Globa|l g_AMTK|
|00005ee0| 53 74 61 63 6b 50 61 74 | 68 2c 20 67 5f 53 59 53 |StackPat|h, g_SYS|
|00005ef0| 46 6f 6c 64 65 72 2c 20 | 67 5f 53 59 53 56 6f 6c |Folder, |g_SYSVol|
|00005f00| 75 6d 65 0d 47 6c 6f 62 | 61 6c 20 67 5f 50 61 74 |ume.Glob|al g_Pat|
|00005f10| 68 54 6f 46 69 6c 65 2c | 20 67 5f 50 61 74 68 54 |hToFile,| g_PathT|
|00005f20| 6f 50 49 43 54 0d 2d 2d | 20 70 75 74 20 67 5f 50 |oPICT.--| put g_P|
|00005f30| 61 74 68 54 6f 46 69 6c | 65 0d 70 75 74 20 22 54 |athToFil|e.put "T|
|00005f40| 68 65 20 73 65 6c 65 63 | 74 65 64 20 66 69 6c 65 |he selec|ted file|
|00005f50| 20 77 69 6c 6c 20 62 65 | 20 63 6f 70 69 65 64 20 | will be| copied |
|00005f60| 69 6e 74 6f 20 74 68 65 | 20 41 4d 54 4b 20 46 6f |into the| AMTK Fo|
|00005f70| 6c 64 65 72 20 22 c2 0d | 26 20 22 6f 6e 20 74 68 |lder "..|& "on th|
|00005f80| 65 20 44 65 73 6b 74 6f | 70 20 6f 66 20 79 6f 75 |e Deskto|p of you|
|00005f90| 72 20 73 79 73 74 65 6d | 20 73 74 61 72 74 75 70 |r system| startup|
|00005fa0| 20 64 69 73 6b 2e 22 20 | 69 6e 74 6f 20 74 4d 53 | disk." |into tMS|
|00005fb0| 47 0d 61 6e 73 77 65 72 | 20 74 4d 53 47 20 77 69 |G.answer| tMSG wi|
|00005fc0| 74 68 20 22 43 61 6e 63 | 65 6c 22 20 6f 72 20 22 |th "Canc|el" or "|
|00005fd0| 4f 4b 22 0d 69 66 20 69 | 74 20 3d 20 22 43 61 6e |OK".if i|t = "Can|
|00005fe0| 63 65 6c 22 20 74 68 65 | 6e 20 45 58 49 54 20 64 |cel" the|n EXIT d|
|00005ff0| 6f 43 6f 70 79 46 69 6c | 65 0d 0d 70 75 74 20 67 |oCopyFil|e..put g|
|00006000| 5f 53 59 53 56 6f 6c 75 | 6d 65 20 26 20 22 44 65 |_SYSVolu|me & "De|
|00006010| 73 6b 74 6f 70 20 46 6f | 6c 64 65 72 3a 41 4d 54 |sktop Fo|lder:AMT|
|00006020| 4b 20 46 6f 6c 64 65 72 | 22 20 69 6e 74 6f 20 66 |K Folder|" into f|
|00006030| 4e 61 6d 65 0d 43 72 65 | 61 74 65 46 6f 6c 64 65 |Name.Cre|ateFolde|
|00006040| 72 20 66 4e 61 6d 65 0d | 70 75 74 20 74 68 65 20 |r fName.|put the |
|00006050| 72 65 73 75 6c 74 20 69 | 6e 74 6f 20 74 6d 70 0d |result i|nto tmp.|
|00006060| 69 66 20 74 6d 70 20 69 | 73 20 4e 4f 54 20 45 4d |if tmp i|s NOT EM|
|00006070| 50 54 59 20 61 6e 64 20 | 22 44 75 70 6c 69 63 61 |PTY and |"Duplica|
|00006080| 74 65 22 20 69 73 20 4e | 4f 54 20 69 6e 20 74 6d |te" is N|OT in tm|
|00006090| 70 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 55 |p then.a|nswer "U|
|000060a0| 6e 61 62 6c 65 20 74 6f | 20 63 72 65 61 74 65 20 |nable to| create |
|000060b0| 41 4d 54 4b 20 66 6f 6c | 64 65 72 22 c2 0d 26 20 |AMTK fol|der"..& |
|000060c0| 52 45 54 55 52 4e 20 26 | 20 52 45 54 55 52 4e 20 |RETURN &| RETURN |
|000060d0| 26 20 74 6d 70 20 26 20 | 52 45 54 55 52 4e 0d 45 |& tmp & |RETURN.E|
|000060e0| 58 49 54 20 64 6f 43 6f | 70 79 46 69 6c 65 0d 65 |XIT doCo|pyFile.e|
|000060f0| 6e 64 20 69 66 0d 0d 70 | 75 74 20 67 5f 53 59 53 |nd if..p|ut g_SYS|
|00006100| 56 6f 6c 75 6d 65 20 26 | 20 22 44 65 73 6b 74 6f |Volume &| "Deskto|
|00006110| 70 20 46 6f 6c 64 65 72 | 3a 41 4d 54 4b 20 46 6f |p Folder|:AMTK Fo|
|00006120| 6c 64 65 72 3a 22 20 69 | 6e 74 6f 20 66 4e 61 6d |lder:" i|nto fNam|
|00006130| 65 0d 66 69 6c 65 63 6f | 70 79 20 67 5f 50 61 74 |e.fileco|py g_Pat|
|00006140| 68 54 6f 46 69 6c 65 2c | 20 66 4e 61 6d 65 0d 70 |hToFile,| fName.p|
|00006150| 75 74 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 6e |ut the r|esult in|
|00006160| 74 6f 20 74 6d 70 0d 69 | 66 20 22 45 52 52 4f 52 |to tmp.i|f "ERROR|
|00006170| 22 20 69 73 20 69 6e 20 | 74 6d 70 20 74 68 65 6e |" is in |tmp then|
|00006180| 0d 69 66 20 22 44 75 70 | 6c 69 63 61 74 65 22 20 |.if "Dup|licate" |
|00006190| 69 73 20 69 6e 20 74 6d | 70 20 74 68 65 6e 0d 61 |is in tm|p then.a|
|000061a0| 6e 73 77 65 72 20 22 54 | 68 69 73 20 66 69 6c 65 |nswer "T|his file|
|000061b0| 20 68 61 73 20 61 6c 72 | 65 61 64 79 20 62 65 65 | has alr|eady bee|
|000061c0| 6e 20 63 6f 70 69 65 64 | 20 69 6e 74 6f 20 79 6f |n copied| into yo|
|000061d0| 75 72 20 41 4d 54 4b 20 | 46 6f 6c 64 65 72 2e 22 |ur AMTK |Folder."|
|000061e0| 20 26 20 52 45 54 55 52 | 4e 0d 45 58 49 54 20 64 | & RETUR|N.EXIT d|
|000061f0| 6f 43 6f 70 79 46 69 6c | 65 0d 65 6c 73 65 0d 61 |oCopyFil|e.else.a|
|00006200| 6e 73 77 65 72 20 22 55 | 6e 61 62 6c 65 20 74 6f |nswer "U|nable to|
|00006210| 20 63 6f 70 79 20 74 68 | 65 20 73 65 6c 65 63 74 | copy th|e select|
|00006220| 65 64 20 66 69 6c 65 22 | c2 0d 26 20 52 45 54 55 |ed file"|..& RETU|
|00006230| 52 4e 20 26 20 52 45 54 | 55 52 4e 20 26 20 74 6d |RN & RET|URN & tm|
|00006240| 70 20 26 20 52 45 54 55 | 52 4e 0d 45 58 49 54 20 |p & RETU|RN.EXIT |
|00006250| 64 6f 43 6f 70 79 46 69 | 6c 65 0d 65 6e 64 20 69 |doCopyFi|le.end i|
|00006260| 66 0d 65 6e 64 20 69 66 | 0d 0d 65 6e 64 20 64 6f |f.end if|..end do|
|00006270| 43 6f 70 79 46 69 6c 65 | 0d 0d 00 00 00 00 00 00 |CopyFile|........|
|00006280| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00006290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062a0| 00 06 2a 1a 00 0e 81 b5 | 00 03 a4 9c 00 11 b6 1c |..*.....|........|
|000062b0| 00 35 18 d3 00 35 1b 9d | 00 06 2c 29 00 14 38 3c |.5...5..|..,)..8<|
|000062c0| 00 0f c1 91 00 0f 75 b0 | 00 0b 8a 0f 00 2f 0a 19 |......u.|...../..|
|000062d0| 00 19 52 71 00 17 d0 97 | 00 0b 8d b3 00 18 a3 67 |..Rq....|.......g|
|000062e0| 00 1c ee b8 00 22 cc 28 | 00 19 af c7 00 1a 06 a6 |.....".(|........|
|000062f0| 00 1c eb d5 00 16 7d 02 | 00 2d fd d8 00 24 2f c0 |......}.|.-...$/.|
|00006300| 00 26 b8 de 00 29 5a 6b | 00 2a 3d f9 00 2d 27 f3 |.&...)Zk|.*=..-'.|
|00006310| 00 2e 38 44 00 2d 2a 62 | 00 0f 77 f0 00 11 3e 5e |..8D.-*b|..w...>^|
|00006320| 00 09 42 d1 00 16 7f 2f | 00 17 cc 05 00 17 ce 77 |..B..../|.......w|
|00006330| 00 2e 9b 7a 00 2f 95 a2 | 00 32 5e 93 00 32 cb 4e |...z./..|.2^..2.N|
|00006340| 00 32 e5 76 00 2c 06 1a | 00 13 e0 ce 00 33 11 19 |.2.v.,..|.....3..|
|00006350| 00 33 40 8c 00 33 5e 7d | 00 33 a6 60 00 33 a9 e6 |.3@..3^}|.3.`.3..|
|00006360| 00 34 1c 17 00 34 3e 19 | 00 34 6d 50 00 34 9e 0c |.4...4>.|.4mP.4..|
|00006370| 00 34 be 3e 00 35 0f db | 00 35 12 c7 00 2f 98 e6 |.4.>.5..|.5.../..|
|00006380| 00 35 15 a0 00 30 90 09 | 00 00 00 00 00 00 00 00 |.5...0..|........|
|00006390| 00 03 20 4a 00 30 d5 23 | 00 31 4c f6 00 31 cc 26 |.. J.0.#|.1L..1.&|
|000063a0| 00 32 5b 03 00 03 24 95 | 00 03 64 1d 00 00 00 00 |.2[...$.|..d.....|
|000063b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.